Struct SYN_I2C_Queue¶
I2C Transaction Queue instance handle.
#include <syn_i2c_queue.h>
Public Attributes¶
| Type | Name |
|---|---|
| bool | active |
| uint8_t | bus |
| uint16_t | count |
| uint16_t | head |
| bool | initialized |
| SYN_I2C_Transaction | ring |
| uint16_t | tail |
Public Attributes Documentation¶
variable active¶
Transaction in progress
variable bus¶
Target I2C bus index
variable count¶
Current enqueued count
variable head¶
Head index (pop position)
variable initialized¶
Initialization flag
variable ring¶
Transaction ring buffer
variable tail¶
Tail index (push position)
The documentation for this class was generated from the following file src/syntropic/drivers/syn_i2c_queue.h