123456789101112131415161718 |
- #ifndef _I2C_H
- #define _I2C_H
- #include <avr/io.h>
- #define TRUE 1
- #define FALSE 0
- void I2CInit(void);
- void I2CClose(void);
- void I2CStart(void);
- void I2CStop(void);
- uint8_t I2CWriteByte(uint8_t data);
- uint8_t I2CReadByte(uint8_t *data,uint8_t ack);
- #endif
|