i2c_analog.h 260 B

12345678910111213
  1. #ifndef __I2C_ANALOG_H
  2. #define __I2C_ANALOG_H
  3. #include "stm8s.h"
  4. void I2CC_Init(void);
  5. void I2C_Start(void) ;
  6. void I2C_Stop(void);
  7. void I2C_SendACK(uint8_t ack);
  8. uint8_t I2C_SendByte(uint8_t sendDAT);
  9. uint8_t I2C_RecvByte(void);
  10. #endif /*__I2C_ANALOG_H */