spi_slave_evt_t

nRF5 SDK v9.0.0

nRF51 SDK v9.0.0

Struct containing event context from the SPI slave driver. More...

#include <spi_slave.h>

Detailed Description

Struct containing event context from the SPI slave driver.

Field Documentation

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).


Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone .