39 #ifndef NIBO_I2CMASTER_H_
40 #define NIBO_I2CMASTER_H_
41 #if defined(NIBO_USE_I2CMASTER) || defined (DOXYGEN)
55 extern volatile uint8_t i2c_tx_size;
60 extern volatile uint8_t i2c_rx_size;
102 extern volatile uint8_t i2c_last_TWSR;
103 extern volatile uint8_t i2c_pos;
110 #define I2C_TX(ADDR) ((ADDR)<<1)
111 #define I2C_RX(ADDR) (((ADDR)<<1)+1)
117 #endif // NIBO_USE_I2CMASTER
118 #endif // NIBO_I2CMASTER_H_
uint8_t i2c_start_transmission(void)
uint8_t i2c_wait_transmission(void)
uint8_t i2c_buf[I2C_BUF_SIZE]
volatile uint8_t i2c_size
#define I2C_BUF_SIZE
Definition: iodefs_nibo1.h:157