MAV'RIC
|
structure to embed the i2c's data More...
#include <i2c_driver_int.h>
Public Attributes | |
uint8_t | slave_address |
I2C address of slave. | |
uint32_t | i2c_speed |
speed of i2c bus clock in kHz/kbps. Normally 100-400 | |
int8_t | direction |
direction of the bus | |
int8_t | write_then_read_preamble |
preamble in "write follow by read" mode | |
uint8_t * | data |
pointer to a data buffer of uint8_t | |
uint16_t | data_size |
size of the data buffer | |
uint16_t | data_index |
index of the data buffer | |
bool | transfer_in_progress |
define whether the transfer is in progress | |
task_handle_t * | event_handler |
pointer to a task handler buffer | |
structure to embed the i2c's data