|
rusEFI
The most advanced open source ECU
|
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.
Definition at line 382 of file fsl_lpspi.h.
| volatile uint8_t _lpspi_slave_handle::bytesEachRead |
Bytes for each read RDR.
Definition at line 391 of file fsl_lpspi.h.
Referenced by LPSPI_SlaveTransferHandleIRQ(), and LPSPI_SlaveTransferNonBlocking().
| volatile uint8_t _lpspi_slave_handle::bytesEachWrite |
Bytes for each write TDR.
Definition at line 390 of file fsl_lpspi.h.
Referenced by LPSPI_SlaveTransferFillUpTxFifo(), LPSPI_SlaveTransferHandleIRQ(), and LPSPI_SlaveTransferNonBlocking().
| lpspi_slave_transfer_callback_t _lpspi_slave_handle::callback |
Completion callback.
Definition at line 408 of file fsl_lpspi.h.
Referenced by LPSPI_SlaveTransferComplete(), and LPSPI_SlaveTransferCreateHandle().
| volatile uint32_t _lpspi_slave_handle::errorCount |
Error count for slave transfer.
Definition at line 406 of file fsl_lpspi.h.
Referenced by LPSPI_SlaveTransferHandleIRQ().
| volatile uint8_t _lpspi_slave_handle::fifoSize |
FIFO dataSize.
Definition at line 386 of file fsl_lpspi.h.
Referenced by LPSPI_SlaveTransferFillUpTxFifo(), and LPSPI_SlaveTransferNonBlocking().
| volatile bool _lpspi_slave_handle::isByteSwap |
A flag that whether should byte swap.
Definition at line 384 of file fsl_lpspi.h.
Referenced by LPSPI_SlaveTransferFillUpTxFifo(), LPSPI_SlaveTransferHandleIRQ(), and LPSPI_SlaveTransferNonBlocking().
| volatile uint32_t _lpspi_slave_handle::readRegRemainingTimes |
Read RDR register remaining times.
Definition at line 400 of file fsl_lpspi.h.
Referenced by LPSPI_SlaveTransferHandleIRQ(), and LPSPI_SlaveTransferNonBlocking().
| uint8_t* volatile _lpspi_slave_handle::rxData |
Receive buffer.
Definition at line 394 of file fsl_lpspi.h.
Referenced by LPSPI_SlaveTransferGetCount(), LPSPI_SlaveTransferHandleIRQ(), and LPSPI_SlaveTransferNonBlocking().
| volatile size_t _lpspi_slave_handle::rxRemainingByteCount |
Number of bytes remaining to receive.
Definition at line 397 of file fsl_lpspi.h.
Referenced by LPSPI_SlaveTransferAbort(), LPSPI_SlaveTransferGetCount(), LPSPI_SlaveTransferHandleIRQ(), and LPSPI_SlaveTransferNonBlocking().
| volatile uint8_t _lpspi_slave_handle::rxWatermark |
Rx watermark.
Definition at line 388 of file fsl_lpspi.h.
Referenced by LPSPI_SlaveTransferHandleIRQ(), and LPSPI_SlaveTransferNonBlocking().
| volatile uint8_t _lpspi_slave_handle::state |
LPSPI transfer state , _lpspi_transfer_state.
Definition at line 404 of file fsl_lpspi.h.
Referenced by LPSPI_SlaveTransferAbort(), LPSPI_SlaveTransferComplete(), LPSPI_SlaveTransferGetCount(), LPSPI_SlaveTransferHandleIRQ(), and LPSPI_SlaveTransferNonBlocking().
| uint32_t _lpspi_slave_handle::totalByteCount |
Number of transfer bytes
Definition at line 402 of file fsl_lpspi.h.
Referenced by LPSPI_SlaveTransferGetCount(), and LPSPI_SlaveTransferNonBlocking().
| uint8_t* volatile _lpspi_slave_handle::txData |
Send buffer.
Definition at line 393 of file fsl_lpspi.h.
Referenced by LPSPI_SlaveTransferFillUpTxFifo(), LPSPI_SlaveTransferHandleIRQ(), and LPSPI_SlaveTransferNonBlocking().
| volatile size_t _lpspi_slave_handle::txRemainingByteCount |
Number of bytes remaining to send.
Definition at line 396 of file fsl_lpspi.h.
Referenced by LPSPI_SlaveTransferAbort(), LPSPI_SlaveTransferFillUpTxFifo(), LPSPI_SlaveTransferGetCount(), LPSPI_SlaveTransferHandleIRQ(), and LPSPI_SlaveTransferNonBlocking().
| void* _lpspi_slave_handle::userData |
Callback user data.
Definition at line 409 of file fsl_lpspi.h.
Referenced by LPSPI_SlaveTransferComplete(), and LPSPI_SlaveTransferCreateHandle().
| volatile uint32_t _lpspi_slave_handle::writeRegRemainingTimes |
Write TDR register remaining times.
Definition at line 399 of file fsl_lpspi.h.
Referenced by LPSPI_SlaveTransferNonBlocking().