RTEMS 6.1-rc5
|
LPSPI master transfer handle structure used for transactional API. More...
#include <fsl_lpspi.h>
Data Fields | |
volatile bool | isPcsContinuous |
volatile bool | writeTcrInIsr |
volatile bool | isByteSwap |
volatile bool | isTxMask |
volatile uint16_t | bytesPerFrame |
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 |
uint32_t | txBuffIfNull |
volatile uint8_t | state |
lpspi_master_transfer_callback_t | callback |
void * | userData |
LPSPI master transfer handle structure used for transactional API.
volatile uint8_t _lpspi_master_handle::bytesEachRead |
Bytes for each read RDR.
volatile uint8_t _lpspi_master_handle::bytesEachWrite |
Bytes for each write TDR.
volatile uint16_t _lpspi_master_handle::bytesPerFrame |
Number of bytes in each frame
lpspi_master_transfer_callback_t _lpspi_master_handle::callback |
Completion callback.
volatile uint8_t _lpspi_master_handle::fifoSize |
FIFO dataSize.
volatile bool _lpspi_master_handle::isByteSwap |
A flag that whether should byte swap.
volatile bool _lpspi_master_handle::isPcsContinuous |
Is PCS continuous in transfer.
volatile bool _lpspi_master_handle::isTxMask |
A flag that whether TCR[TXMSK] is set.
volatile uint32_t _lpspi_master_handle::readRegRemainingTimes |
Read RDR register remaining times.
uint8_t* volatile _lpspi_master_handle::rxData |
Receive buffer.
volatile size_t _lpspi_master_handle::rxRemainingByteCount |
Number of bytes remaining to receive.
volatile uint8_t _lpspi_master_handle::rxWatermark |
Rx watermark.
volatile uint8_t _lpspi_master_handle::state |
LPSPI transfer state , _lpspi_transfer_state.
uint32_t _lpspi_master_handle::totalByteCount |
Number of transfer bytes
uint32_t _lpspi_master_handle::txBuffIfNull |
Used if the txData is NULL.
uint8_t* volatile _lpspi_master_handle::txData |
Send buffer.
volatile size_t _lpspi_master_handle::txRemainingByteCount |
Number of bytes remaining to send.
void* _lpspi_master_handle::userData |
Callback user data.
volatile uint32_t _lpspi_master_handle::writeRegRemainingTimes |
Write TDR register remaining times.
volatile bool _lpspi_master_handle::writeTcrInIsr |
A flag that whether should write TCR in ISR.