RTEMS 6.1-rc6
|
LPSPI slave transfer handle structure used for transactional API. More...
#include <fsl_lpspi.h>
Data Fields | |
volatile bool | isByteSwap |
volatile uint8_t | fifoSize |
volatile uint8_t | rxWatermark |
volatile uint8_t | bytesEachWrite |
volatile uint8_t | bytesEachRead |
uint8_t *volatile | txData |
uint8_t *volatile | rxData |
volatile size_t | txRemainingByteCount |
volatile size_t | rxRemainingByteCount |
volatile uint32_t | writeRegRemainingTimes |
volatile uint32_t | readRegRemainingTimes |
uint32_t | totalByteCount |
volatile uint8_t | state |
volatile uint32_t | errorCount |
lpspi_slave_transfer_callback_t | callback |
void * | userData |
LPSPI slave transfer handle structure used for transactional API.
volatile uint8_t _lpspi_slave_handle::bytesEachRead |
Bytes for each read RDR.
volatile uint8_t _lpspi_slave_handle::bytesEachWrite |
Bytes for each write TDR.
lpspi_slave_transfer_callback_t _lpspi_slave_handle::callback |
Completion callback.
volatile uint32_t _lpspi_slave_handle::errorCount |
Error count for slave transfer.
volatile uint8_t _lpspi_slave_handle::fifoSize |
FIFO dataSize.
volatile bool _lpspi_slave_handle::isByteSwap |
A flag that whether should byte swap.
volatile uint32_t _lpspi_slave_handle::readRegRemainingTimes |
Read RDR register remaining times.
uint8_t* volatile _lpspi_slave_handle::rxData |
Receive buffer.
volatile size_t _lpspi_slave_handle::rxRemainingByteCount |
Number of bytes remaining to receive.
volatile uint8_t _lpspi_slave_handle::rxWatermark |
Rx watermark.
volatile uint8_t _lpspi_slave_handle::state |
LPSPI transfer state , _lpspi_transfer_state.
uint32_t _lpspi_slave_handle::totalByteCount |
Number of transfer bytes
uint8_t* volatile _lpspi_slave_handle::txData |
Send buffer.
volatile size_t _lpspi_slave_handle::txRemainingByteCount |
Number of bytes remaining to send.
void* _lpspi_slave_handle::userData |
Callback user data.
volatile uint32_t _lpspi_slave_handle::writeRegRemainingTimes |
Write TDR register remaining times.