|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Callback context: the channel and the last controller-write payload. More...
Data Fields | |
| uint8_t | channel |
| RIIC channel the target answers on. | |
| uint32_t | rx_len |
| Bytes captured from the last write (>= 1). | |
| uint8_t | rx [k_riic_target_buf_len] |
| Last controller-write payload (echoed). | |
Callback context: the channel and the last controller-write payload.
Passed to ra8_i2c_peripheral_attach_handler and handed back to riic_target_on_event. A controller write is captured into rx and echoed back on the next controller read, giving a simple loopback semantic. cppcheck cannot see the dispatch call graph, so pre-waive the member scan.
| uint8_t riic_target_ctx_t::channel |
RIIC channel the target answers on.
Definition at line 81 of file main.c.
Referenced by riic_target_on_event().
| uint8_t riic_target_ctx_t::rx[k_riic_target_buf_len] |
Last controller-write payload (echoed).
Definition at line 83 of file main.c.
Referenced by riic_target_on_event().
| uint32_t riic_target_ctx_t::rx_len |
Bytes captured from the last write (>= 1).
Definition at line 82 of file main.c.
Referenced by riic_target_on_event().