Arduino Hardware I2C for AVR MCUs (plain c)
1.3
Arduino Hardware I2C for AVR MCUs (plain c) documentation
|
ci2c slave config and control parameters More...
#include <src/ci2c.h>
Data Fields | |
struct { | |
uint8_t addr | |
Slave address. More... | |
I2C_INT_SIZE reg_size | |
Slave internal registers size. More... | |
ci2c_fct_ptr wr | |
Slave write function pointer. More... | |
ci2c_fct_ptr rd | |
Slave read function pointer. More... | |
} | cfg |
uint16_t | reg_addr |
Internal current register address. More... | |
I2C_STATUS | status |
Status of the last communications. More... | |
ci2c slave config and control parameters
uint8_t StructI2CSlave::addr |
Slave address.
struct { ... } StructI2CSlave::cfg |
ci2c_fct_ptr StructI2CSlave::rd |
Slave read function pointer.
uint16_t StructI2CSlave::reg_addr |
Internal current register address.
I2C_INT_SIZE StructI2CSlave::reg_size |
Slave internal registers size.
I2C_STATUS StructI2CSlave::status |
Status of the last communications.
ci2c_fct_ptr StructI2CSlave::wr |
Slave write function pointer.