IoT_SCV_CH584M/APP/include/bsp_wf5803.h

20 lines
446 B
C
Raw Normal View History

2024-11-14 09:47:21 +08:00
#ifndef __BSP_WF5803_H
#define __BSP_WF5803_H
#include "CH58x_common.h"
#define WF5803_EVT_START (0x0001 << 0)
#define WF5803_EVT_READ (0x0001 << 1)
#define WF5803_EVT_VCC (0x0001 << 2)
2024-11-14 09:47:21 +08:00
void WF5803_Init(void);
// void WF5803_WriteReg(uint8_t Address, uint8_t value);
// uint8_t WF5803_ReadReg(uint8_t addr);
// uint8_t *GetSensorData(void);
// void SensorData_Process(void);
2024-11-14 09:47:21 +08:00
void BSPWF5803_Init(void);
void WF5803_DeInit(void);
2024-11-14 09:47:21 +08:00
#endif