theCore C++ embedded framework
|
SPI interrupt proxy. More...
Static Public Member Functions | |
static void | deliver_irq () |
Static Public Member Functions inherited from ecl::spi< ch > | |
static ecl::err | init () |
Lazy initialization. More... | |
static void | set_rx (uint8_t *rx, size_t size) |
Sets rx buffer with given size. More... | |
static void | set_tx (size_t size, uint8_t fill_byte=0xff) |
Sets tx buffer made-up from sequence of similar bytes. More... | |
static void | set_tx (const uint8_t *tx, size_t size) |
Sets tx buffer with given size. More... | |
static void | set_handler (const handler_fn &handler) |
Sets event handler. More... | |
static void | reset_buffers () |
Reset xfer buffers. More... | |
static void | reset_handler () |
Resets previously set handler. More... | |
static ecl::err | do_xfer () |
Executes xfer, using buffers previously set. More... | |
static ecl::err | cancel_xfer () |
Cancels xfer. More... | |
static void | enable_circular_mode () |
Enables circular mode for the bus. More... | |
static void | disable_circular_mode () |
Disables circular mode for the bus. More... | |
static bool | is_circular_mode () |
Returns the circular mode state. More... | |
Additional Inherited Members | |
Public Types inherited from ecl::spi< ch > | |
using | channel = bus_channel |
using | event = bus_event |
using | handler_fn = bus_handler |
using | config = spi_cfg< ch > |
Public Member Functions inherited from ecl::spi< ch > | |
spi ()=delete | |
~spi ()=delete | |
Static Protected Member Functions inherited from ecl::spi< ch > | |
static void | irq_handler () |
SPI interrupt handler. More... | |
SPI interrupt proxy.
|
inlinestatic |