nRF51 SDK - S110 SoftDevice
|
Struct containing event context from the SPI slave driver. More...
#include <spi_slave.h>
Data Fields | |
spi_slave_evt_type_t | evt_type |
uint32_t | rx_amount |
uint32_t | tx_amount |
Struct containing event context from the SPI slave driver.
spi_slave_evt_type_t spi_slave_evt_t::evt_type |
Type of event.
uint32_t spi_slave_evt_t::rx_amount |
Number of bytes received in last transaction (parameter is only valid upon SPI_SLAVE_XFER_DONE event).
uint32_t spi_slave_evt_t::tx_amount |
Number of bytes transmitted in last transaction (parameter is only valid upon SPI_SLAVE_XFER_DONE event).