XCORE SDK
XCORE Software Development Kit
Public Attributes | List of all members
spi_slave_callback_group_t Struct Reference

#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
 

Detailed Description

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.

Member Data Documentation

◆ app_data

void* spi_slave_callback_group_t::app_data

Pointer to application specific data which is passed to each callback.

◆ slave_transaction_ended

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.

◆ slave_transaction_started

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


The documentation for this struct was generated from the following file: