|
Arduino Wrapper for Wire library (for SAM, ESP8266...) 1.4
A wrapper for Wire library meant to be put in place of cI2C library on SAM, ESP8266... targets
|
ci2c slave config and control parameters More...
#include <src/WireWrapper.h>
Public Attributes | ||
| 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. | ||
| I2C_STATUS | status | |
| Status of the last communications. | ||
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.