2024-12-29 22:59:07 +08:00

30 lines
529 B
C

//
// Created by dell on 24-12-20.
//
#ifndef TMP112_H
#define TMP112_H
#include "gd32e23x_it.h"
#include "gd32e23x.h"
#include "board_config.h"
#ifdef SOFTWARE_IIC
#include "soft_i2c.h"
#else
#include "i2c.h"
#endif
/******************************************************************************/
#define TMP112A_ADDR (0x49 << 1)
/******************************************************************************/
#define TMP112A_TEMP_REG 0x00
uint32_t tmp112a_get_raw_channel_result(void);
#endif //TMP112_H