2025-09-23 00:27:51 +08:00
|
|
|
#ifndef _5012B_H
|
|
|
|
|
#define _5012B_H
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
#include "gd32c10x_eval.h"
|
2025-10-02 23:50:12 +08:00
|
|
|
#include "stdio.h"
|
2025-09-23 00:27:51 +08:00
|
|
|
|
2025-10-30 20:20:14 +08:00
|
|
|
void KHT7823_init(void);
|
2025-09-23 00:27:51 +08:00
|
|
|
u16 spi_rw_half_word(u32 spi_periph, const u16 i_HalfWord);
|
2025-10-30 20:20:14 +08:00
|
|
|
void KHT7823_readAngle(void);
|
2025-09-23 00:27:51 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|