add softi2c , test failed
This commit is contained in:
15
3rd/soft_i2c.h
Normal file
15
3rd/soft_i2c.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef __SOFT_I2C_H
|
||||
#define __SOFT_I2C_H
|
||||
#include <stdint.h>
|
||||
|
||||
void I2C_W_SCL(uint8_t BitValue);
|
||||
void I2C_W_SDA(uint8_t BitValue);
|
||||
uint8_t I2C_R_SDA(void);
|
||||
void I2C_Start(void);
|
||||
void I2C_Stop(void);
|
||||
void I2C_SendByte(uint8_t Byte);
|
||||
uint8_t I2C_RecviveData(void);
|
||||
void I2C_SendAck(uint8_t AckBit);
|
||||
uint8_t I2C_RecviveAck(void);
|
||||
|
||||
#endif /* ti_msp_dl_config_h */
|
||||
Reference in New Issue
Block a user