XCORE SDK
XCORE Software Development Kit
|
#include <spi.h>
Public Attributes | |
SPI_CALLBACK_ATTR slave_transaction_started_t | slave_transaction_started |
SPI_CALLBACK_ATTR slave_transaction_ended_t | slave_transaction_ended |
void * | app_data |
Callback group representing callback events that can occur during the operation of the SPI slave task. Must be initialized by the application prior to passing it to one of the SPI slaves.
void* spi_slave_callback_group_t::app_data |
Pointer to application specific data which is passed to each callback.
SPI_CALLBACK_ATTR slave_transaction_ended_t spi_slave_callback_group_t::slave_transaction_ended |
Pointer to the application's slave_transaction_ended_t function to be called by the SPI device Note: The time spent in this callback must be less than the minimum CS deassertion to reassertion time. If this is violated the first word of the proceeding transaction will be lost.
SPI_CALLBACK_ATTR slave_transaction_started_t spi_slave_callback_group_t::slave_transaction_started |
Pointer to the application's slave_transaction_started_t function to be called by the SPI device