|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Caller-allocated SPI-bus handle binding a backend to its context. More...
#include <ra8_io_spi_bus.h>
Data Fields | |
| const ra8_io_spi_bus_iface_t * | iface |
| Bound backend vtable (private). | |
| void * | ctx |
| Backend-private context (private). | |
Caller-allocated SPI-bus handle binding a backend to its context.
Zero-initialise (= {}) and pass to a backend _bind_*() helper, which fills the vtable and context. Treat the fields as private; reach the bus only through the ra8_io_spi_bus_* functions below. The handle must out-live every call made through it (including calls made through an ra8_spi_bus_ops_t filled by ra8_io_spi_bus_as_ops).
Definition at line 100 of file ra8_io_spi_bus.h.
| void* ra8_io_spi_bus_t::ctx |
Backend-private context (private).
Definition at line 102 of file ra8_io_spi_bus.h.
Referenced by ra8_io_spi_bus_bind_sci_spi(), ra8_io_spi_bus_bind_spi_b(), ra8_io_spi_bus_set_clock(), ra8_io_spi_bus_write_read(), and ra8_io_spi_bus_xfer8().
| const ra8_io_spi_bus_iface_t* ra8_io_spi_bus_t::iface |
Bound backend vtable (private).
Definition at line 101 of file ra8_io_spi_bus.h.
Referenced by internal_validate(), ra8_io_spi_bus_bind_sci_spi(), ra8_io_spi_bus_bind_spi_b(), ra8_io_spi_bus_set_clock(), ra8_io_spi_bus_write_read(), and ra8_io_spi_bus_xfer8().