nRF51 SDK v9.0.0
Data Fields
spi_slave_evt_t Struct Reference

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
 

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


This document was last updated on Thu Jul 9 2015.
Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone.