generated from hulk/gd32e23x_template
finish Tmp112A
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
#define LDC1612_ADDR (0x2B << 1)
|
||||
#define TMP112A_ADDR (0x49 << 1)
|
||||
|
||||
/*Register Rddr*/
|
||||
/***************************************************************************/
|
||||
@@ -57,9 +58,9 @@ typedef enum {
|
||||
|
||||
void I2C_config(void);
|
||||
void I2C_scan(void);
|
||||
uint8_t IIC_read_16bit(uint8_t reg, uint16_t *value);
|
||||
void LDC1612_read_sensor_infomation(void);
|
||||
|
||||
// uint8_t IIC_read_16bit(uint8_t reg, uint16_t *value);
|
||||
// void LDC1612_read_sensor_infomation(void);
|
||||
|
||||
uint32_t TMP112A_ReadTemperature(void);
|
||||
|
||||
#endif //LDC1612_H
|
||||
|
Reference in New Issue
Block a user