|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Per-channel dispatch state shared across the driver's TUs. More...
#include <ra8_i3c_i2c_internal.h>
Data Fields | |
| ra8_i3c_i2c_complete_fn_t | cb |
| Callback or NULL. | |
| void * | ctx |
| Callback context. | |
| bool | initialized |
| Tracks ra8_i3c_i2c_init / ra8_i3c_i2c_deinit. | |
| bool | bus_held |
| True when the previous transaction returned with restart=true and the next call must inject a RESTART instead of a fresh START. | |
Per-channel dispatch state shared across the driver's TUs.
Tracks the registered completion callback, its context, the initialization flag, and the held-bus flag used to inject a RESTART instead of a fresh START on a chained transaction. Defined as the s_iic_b_state table in ra8_i3c_i2c.c.
bus_held is true only between a restart=true transaction and the next chained call on the same channel.Definition at line 41 of file ra8_i3c_i2c_internal.h.
| bool ra8_i3c_i2c_state_t::bus_held |
True when the previous transaction returned with restart=true and the next call must inject a RESTART instead of a fresh START.
Definition at line 46 of file ra8_i3c_i2c_internal.h.
| ra8_i3c_i2c_complete_fn_t ra8_i3c_i2c_state_t::cb |
Callback or NULL.
Definition at line 42 of file ra8_i3c_i2c_internal.h.
| void* ra8_i3c_i2c_state_t::ctx |
Callback context.
Definition at line 43 of file ra8_i3c_i2c_internal.h.
| bool ra8_i3c_i2c_state_t::initialized |
Tracks ra8_i3c_i2c_init / ra8_i3c_i2c_deinit.
Definition at line 44 of file ra8_i3c_i2c_internal.h.