rusEFI
The most advanced open source ECU
|
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 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.
Definition at line 349 of file fsl_lpspi.h.
volatile uint8_t _lpspi_master_handle::bytesEachRead |
Bytes for each read RDR.
Definition at line 361 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferHandleIRQ(), and LPSPI_MasterTransferNonBlocking().
volatile uint8_t _lpspi_master_handle::bytesEachWrite |
Bytes for each write TDR.
Definition at line 360 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferFillUpTxFifo(), and LPSPI_MasterTransferNonBlocking().
lpspi_master_transfer_callback_t _lpspi_master_handle::callback |
Completion callback.
Definition at line 377 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferComplete(), and LPSPI_MasterTransferCreateHandle().
volatile uint8_t _lpspi_master_handle::fifoSize |
FIFO dataSize.
Definition at line 356 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferFillUpTxFifo(), LPSPI_MasterTransferHandleIRQ(), and LPSPI_MasterTransferNonBlocking().
volatile bool _lpspi_master_handle::isByteSwap |
A flag that whether should byte swap.
Definition at line 354 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferFillUpTxFifo(), LPSPI_MasterTransferHandleIRQ(), and LPSPI_MasterTransferNonBlocking().
volatile bool _lpspi_master_handle::isPcsContinuous |
Is PCS continuous in transfer.
Definition at line 351 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferFillUpTxFifo(), LPSPI_MasterTransferHandleIRQ(), and LPSPI_MasterTransferNonBlocking().
volatile uint32_t _lpspi_master_handle::readRegRemainingTimes |
Read RDR register remaining times.
Definition at line 369 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferFillUpTxFifo(), LPSPI_MasterTransferHandleIRQ(), and LPSPI_MasterTransferNonBlocking().
uint8_t* volatile _lpspi_master_handle::rxData |
Receive buffer.
Definition at line 364 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferFillUpTxFifo(), LPSPI_MasterTransferGetCount(), LPSPI_MasterTransferHandleIRQ(), and LPSPI_MasterTransferNonBlocking().
volatile size_t _lpspi_master_handle::rxRemainingByteCount |
Number of bytes remaining to receive.
Definition at line 366 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferAbort(), LPSPI_MasterTransferGetCount(), LPSPI_MasterTransferHandleIRQ(), and LPSPI_MasterTransferNonBlocking().
volatile uint8_t _lpspi_master_handle::rxWatermark |
Rx watermark.
Definition at line 358 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferHandleIRQ(), and LPSPI_MasterTransferNonBlocking().
volatile uint8_t _lpspi_master_handle::state |
LPSPI transfer state , _lpspi_transfer_state.
Definition at line 375 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferAbort(), LPSPI_MasterTransferComplete(), LPSPI_MasterTransferGetCount(), and LPSPI_MasterTransferNonBlocking().
uint32_t _lpspi_master_handle::totalByteCount |
Number of transfer bytes
Definition at line 371 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferGetCount(), and LPSPI_MasterTransferNonBlocking().
uint32_t _lpspi_master_handle::txBuffIfNull |
Used if the txData is NULL.
Definition at line 373 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferFillUpTxFifo(), and LPSPI_MasterTransferNonBlocking().
uint8_t* volatile _lpspi_master_handle::txData |
Send buffer.
Definition at line 363 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferFillUpTxFifo(), and LPSPI_MasterTransferNonBlocking().
volatile size_t _lpspi_master_handle::txRemainingByteCount |
Number of bytes remaining to send.
Definition at line 365 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferAbort(), LPSPI_MasterTransferFillUpTxFifo(), LPSPI_MasterTransferGetCount(), LPSPI_MasterTransferHandleIRQ(), and LPSPI_MasterTransferNonBlocking().
void* _lpspi_master_handle::userData |
Callback user data.
Definition at line 378 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferComplete(), and LPSPI_MasterTransferCreateHandle().
volatile uint32_t _lpspi_master_handle::writeRegRemainingTimes |
Write TDR register remaining times.
Definition at line 368 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferFillUpTxFifo(), and LPSPI_MasterTransferNonBlocking().
volatile bool _lpspi_master_handle::writeTcrInIsr |
A flag that whether should write TCR in ISR.
Definition at line 352 of file fsl_lpspi.h.
Referenced by LPSPI_MasterTransferFillUpTxFifo(), LPSPI_MasterTransferHandleIRQ(), and LPSPI_MasterTransferNonBlocking().