generated from hulk/gd32e23x_template
16 lines
257 B
C
16 lines
257 B
C
//
|
|
// Created by dell on 24-12-4.
|
|
//
|
|
|
|
#ifndef I2C_H
|
|
#define I2C_H
|
|
|
|
#include "gd32e23x_i2c.h"
|
|
#include "LDC1612.h"
|
|
|
|
#define I2C_TIME_OUT (uint16_t)(5000)
|
|
#define LDC_I2C I2C0
|
|
|
|
int i2c_write_reg(uint8_t device_address, uint8_t *data);
|
|
#endif //I2C_H
|