rusEFI
The most advanced open source ECU
|
Data Structures | |
struct | _lpspi_master_edma_handle |
LPSPI master eDMA transfer handle structure used for transactional API. More... | |
struct | _lpspi_slave_edma_handle |
LPSPI slave eDMA transfer handle structure used for transactional API. More... | |
Driver version | |
typedef struct _lpspi_master_edma_handle | lpspi_master_edma_handle_t |
Forward declaration of the _lpspi_master_edma_handle typedefs. | |
typedef struct _lpspi_slave_edma_handle | lpspi_slave_edma_handle_t |
Forward declaration of the _lpspi_slave_edma_handle typedefs. | |
typedef void(* | lpspi_master_edma_transfer_callback_t) (LPSPI_Type *base, lpspi_master_edma_handle_t *handle, status_t status, void *userData) |
Completion callback function pointer type. | |
typedef void(* | lpspi_slave_edma_transfer_callback_t) (LPSPI_Type *base, lpspi_slave_edma_handle_t *handle, status_t status, void *userData) |
Completion callback function pointer type. | |
void | LPSPI_MasterTransferCreateHandleEDMA (LPSPI_Type *base, lpspi_master_edma_handle_t *handle, lpspi_master_edma_transfer_callback_t callback, void *userData, edma_handle_t *edmaRxRegToRxDataHandle, edma_handle_t *edmaTxDataToTxRegHandle) |
Initializes the LPSPI master eDMA handle. | |
status_t | LPSPI_MasterTransferEDMA (LPSPI_Type *base, lpspi_master_edma_handle_t *handle, lpspi_transfer_t *transfer) |
LPSPI master transfer data using eDMA. | |
void | LPSPI_MasterTransferAbortEDMA (LPSPI_Type *base, lpspi_master_edma_handle_t *handle) |
LPSPI master aborts a transfer which is using eDMA. | |
status_t | LPSPI_MasterTransferGetCountEDMA (LPSPI_Type *base, lpspi_master_edma_handle_t *handle, size_t *count) |
Gets the master eDMA transfer remaining bytes. | |
void | LPSPI_SlaveTransferCreateHandleEDMA (LPSPI_Type *base, lpspi_slave_edma_handle_t *handle, lpspi_slave_edma_transfer_callback_t callback, void *userData, edma_handle_t *edmaRxRegToRxDataHandle, edma_handle_t *edmaTxDataToTxRegHandle) |
Initializes the LPSPI slave eDMA handle. | |
status_t | LPSPI_SlaveTransferEDMA (LPSPI_Type *base, lpspi_slave_edma_handle_t *handle, lpspi_transfer_t *transfer) |
LPSPI slave transfers data using eDMA. | |
void | LPSPI_SlaveTransferAbortEDMA (LPSPI_Type *base, lpspi_slave_edma_handle_t *handle) |
LPSPI slave aborts a transfer which is using eDMA. | |
status_t | LPSPI_SlaveTransferGetCountEDMA (LPSPI_Type *base, lpspi_slave_edma_handle_t *handle, size_t *count) |
Gets the slave eDMA transfer remaining bytes. | |
typedef struct _lpspi_master_edma_handle lpspi_master_edma_handle_t |
Forward declaration of the _lpspi_master_edma_handle typedefs.
Definition at line 31 of file fsl_lpspi_edma.h.
typedef void(* lpspi_master_edma_transfer_callback_t) (LPSPI_Type *base, lpspi_master_edma_handle_t *handle, status_t status, void *userData) |
Completion callback function pointer type.
base | LPSPI peripheral base address. |
handle | Pointer to the handle for the LPSPI master. |
status | Success or error code describing whether the transfer completed. |
userData | Arbitrary pointer-dataSized value passed from the application. |
Definition at line 46 of file fsl_lpspi_edma.h.
typedef struct _lpspi_slave_edma_handle lpspi_slave_edma_handle_t |
Forward declaration of the _lpspi_slave_edma_handle typedefs.
Definition at line 36 of file fsl_lpspi_edma.h.
typedef void(* lpspi_slave_edma_transfer_callback_t) (LPSPI_Type *base, lpspi_slave_edma_handle_t *handle, status_t status, void *userData) |
Completion callback function pointer type.
base | LPSPI peripheral base address. |
handle | Pointer to the handle for the LPSPI slave. |
status | Success or error code describing whether the transfer completed. |
userData | Arbitrary pointer-dataSized value passed from the application. |
Definition at line 58 of file fsl_lpspi_edma.h.
void LPSPI_MasterTransferAbortEDMA | ( | LPSPI_Type * | base, |
lpspi_master_edma_handle_t * | handle | ||
) |
LPSPI master aborts a transfer which is using eDMA.
This function aborts a transfer which is using eDMA.
base | LPSPI peripheral base address. |
handle | pointer to lpspi_master_edma_handle_t structure which stores the transfer state. |
brief LPSPI master aborts a transfer which is using eDMA.
This function aborts a transfer which is using eDMA.
param base LPSPI peripheral base address. param handle pointer to lpspi_master_edma_handle_t structure which stores the transfer state.
Definition at line 631 of file fsl_lpspi_edma.c.
void LPSPI_MasterTransferCreateHandleEDMA | ( | LPSPI_Type * | base, |
lpspi_master_edma_handle_t * | handle, | ||
lpspi_master_edma_transfer_callback_t | callback, | ||
void * | userData, | ||
edma_handle_t * | edmaRxRegToRxDataHandle, | ||
edma_handle_t * | edmaTxDataToTxRegHandle | ||
) |
Initializes the LPSPI master eDMA handle.
This function initializes the LPSPI eDMA handle which can be used for other LPSPI transactional APIs. Usually, for a specified LPSPI instance, call this API once to get the initialized handle.
Note that the LPSPI eDMA has a separated (Rx and Rx as two sources) or shared (Rx and Tx are the same source) DMA request source. (1) For a separated DMA request source, enable and set the Rx DMAMUX source for edmaRxRegToRxDataHandle and Tx DMAMUX source for edmaIntermediaryToTxRegHandle. (2) For a shared DMA request source, enable and set the Rx/Rx DMAMUX source for edmaRxRegToRxDataHandle.
base | LPSPI peripheral base address. |
handle | LPSPI handle pointer to lpspi_master_edma_handle_t. |
callback | LPSPI callback. |
userData | callback function parameter. |
edmaRxRegToRxDataHandle | edmaRxRegToRxDataHandle pointer to edma_handle_t. |
edmaTxDataToTxRegHandle | edmaTxDataToTxRegHandle pointer to edma_handle_t. |
brief Initializes the LPSPI master eDMA handle.
This function initializes the LPSPI eDMA handle which can be used for other LPSPI transactional APIs. Usually, for a specified LPSPI instance, call this API once to get the initialized handle.
Note that the LPSPI eDMA has a separated (Rx and Rx as two sources) or shared (Rx and Tx are the same source) DMA request source. (1) For a separated DMA request source, enable and set the Rx DMAMUX source for edmaRxRegToRxDataHandle and Tx DMAMUX source for edmaIntermediaryToTxRegHandle. (2) For a shared DMA request source, enable and set the Rx/Rx DMAMUX source for edmaRxRegToRxDataHandle.
param base LPSPI peripheral base address. param handle LPSPI handle pointer to lpspi_master_edma_handle_t. param callback LPSPI callback. param userData callback function parameter. param edmaRxRegToRxDataHandle edmaRxRegToRxDataHandle pointer to edma_handle_t. param edmaTxDataToTxRegHandle edmaTxDataToTxRegHandle pointer to edma_handle_t.
Definition at line 177 of file fsl_lpspi_edma.c.
status_t LPSPI_MasterTransferEDMA | ( | LPSPI_Type * | base, |
lpspi_master_edma_handle_t * | handle, | ||
lpspi_transfer_t * | transfer | ||
) |
LPSPI master transfer data using eDMA.
This function transfers data using eDMA. This is a non-blocking function, which returns right away. When all data is transferred, the callback function is called.
Note: The transfer data size should be an integer multiple of bytesPerFrame if bytesPerFrame is less than or equal to 4. For bytesPerFrame greater than 4: The transfer data size should be equal to bytesPerFrame if the bytesPerFrame is not an integer multiple of 4. Otherwise, the transfer data size can be an integer multiple of bytesPerFrame.
base | LPSPI peripheral base address. |
handle | pointer to lpspi_master_edma_handle_t structure which stores the transfer state. |
transfer | pointer to lpspi_transfer_t structure. |
brief LPSPI master transfer data using eDMA.
This function transfers data using eDMA. This is a non-blocking function, which returns right away. When all data is transferred, the callback function is called.
Note: The transfer data size should be an integer multiple of bytesPerFrame if bytesPerFrame is less than or equal to 4. For bytesPerFrame greater than 4: The transfer data size should be equal to bytesPerFrame if the bytesPerFrame is not an integer multiple of 4. Otherwise, the transfer data size can be an integer multiple of bytesPerFrame.
param base LPSPI peripheral base address. param handle pointer to lpspi_master_edma_handle_t structure which stores the transfer state. param transfer pointer to lpspi_transfer_t structure. return status of status_t.
Definition at line 220 of file fsl_lpspi_edma.c.
status_t LPSPI_MasterTransferGetCountEDMA | ( | LPSPI_Type * | base, |
lpspi_master_edma_handle_t * | handle, | ||
size_t * | count | ||
) |
Gets the master eDMA transfer remaining bytes.
This function gets the master eDMA transfer remaining bytes.
base | LPSPI peripheral base address. |
handle | pointer to lpspi_master_edma_handle_t structure which stores the transfer state. |
count | Number of bytes transferred so far by the EDMA transaction. |
brief Gets the master eDMA transfer remaining bytes.
This function gets the master eDMA transfer remaining bytes.
param base LPSPI peripheral base address. param handle pointer to lpspi_master_edma_handle_t structure which stores the transfer state. param count Number of bytes transferred so far by the EDMA transaction. return status of status_t.
Definition at line 653 of file fsl_lpspi_edma.c.
void LPSPI_SlaveTransferAbortEDMA | ( | LPSPI_Type * | base, |
lpspi_slave_edma_handle_t * | handle | ||
) |
LPSPI slave aborts a transfer which is using eDMA.
This function aborts a transfer which is using eDMA.
base | LPSPI peripheral base address. |
handle | pointer to lpspi_slave_edma_handle_t structure which stores the transfer state. |
brief LPSPI slave aborts a transfer which is using eDMA.
This function aborts a transfer which is using eDMA.
param base LPSPI peripheral base address. param handle pointer to lpspi_slave_edma_handle_t structure which stores the transfer state.
Definition at line 1123 of file fsl_lpspi_edma.c.
void LPSPI_SlaveTransferCreateHandleEDMA | ( | LPSPI_Type * | base, |
lpspi_slave_edma_handle_t * | handle, | ||
lpspi_slave_edma_transfer_callback_t | callback, | ||
void * | userData, | ||
edma_handle_t * | edmaRxRegToRxDataHandle, | ||
edma_handle_t * | edmaTxDataToTxRegHandle | ||
) |
Initializes the LPSPI slave eDMA handle.
This function initializes the LPSPI eDMA handle which can be used for other LPSPI transactional APIs. Usually, for a specified LPSPI instance, call this API once to get the initialized handle.
Note that LPSPI eDMA has a separated (Rx and Tx as two sources) or shared (Rx and Tx as the same source) DMA request source.
(1) For a separated DMA request source, enable and set the Rx DMAMUX source for edmaRxRegToRxDataHandle and Tx DMAMUX source for edmaTxDataToTxRegHandle. (2) For a shared DMA request source, enable and set the Rx/Rx DMAMUX source for edmaRxRegToRxDataHandle .
base | LPSPI peripheral base address. |
handle | LPSPI handle pointer to lpspi_slave_edma_handle_t. |
callback | LPSPI callback. |
userData | callback function parameter. |
edmaRxRegToRxDataHandle | edmaRxRegToRxDataHandle pointer to edma_handle_t. |
edmaTxDataToTxRegHandle | edmaTxDataToTxRegHandle pointer to edma_handle_t. |
brief Initializes the LPSPI slave eDMA handle.
This function initializes the LPSPI eDMA handle which can be used for other LPSPI transactional APIs. Usually, for a specified LPSPI instance, call this API once to get the initialized handle.
Note that LPSPI eDMA has a separated (Rx and Tx as two sources) or shared (Rx and Tx as the same source) DMA request source.
(1) For a separated DMA request source, enable and set the Rx DMAMUX source for edmaRxRegToRxDataHandle and Tx DMAMUX source for edmaTxDataToTxRegHandle. (2) For a shared DMA request source, enable and set the Rx/Rx DMAMUX source for edmaRxRegToRxDataHandle .
param base LPSPI peripheral base address. param handle LPSPI handle pointer to lpspi_slave_edma_handle_t. param callback LPSPI callback. param userData callback function parameter. param edmaRxRegToRxDataHandle edmaRxRegToRxDataHandle pointer to edma_handle_t. param edmaTxDataToTxRegHandle edmaTxDataToTxRegHandle pointer to edma_handle_t.
Definition at line 700 of file fsl_lpspi_edma.c.
status_t LPSPI_SlaveTransferEDMA | ( | LPSPI_Type * | base, |
lpspi_slave_edma_handle_t * | handle, | ||
lpspi_transfer_t * | transfer | ||
) |
LPSPI slave transfers data using eDMA.
This function transfers data using eDMA. This is a non-blocking function, which return right away. When all data is transferred, the callback function is called.
Note: The transfer data size should be an integer multiple of bytesPerFrame if bytesPerFrame is less than or equal to 4. For bytesPerFrame greater than 4: The transfer data size should be equal to bytesPerFrame if the bytesPerFrame is not an integer multiple of 4. Otherwise, the transfer data size can be an integer multiple of bytesPerFrame.
base | LPSPI peripheral base address. |
handle | pointer to lpspi_slave_edma_handle_t structure which stores the transfer state. |
transfer | pointer to lpspi_transfer_t structure. |
brief LPSPI slave transfers data using eDMA.
This function transfers data using eDMA. This is a non-blocking function, which return right away. When all data is transferred, the callback function is called.
Note: The transfer data size should be an integer multiple of bytesPerFrame if bytesPerFrame is less than or equal to 4. For bytesPerFrame greater than 4: The transfer data size should be equal to bytesPerFrame if the bytesPerFrame is not an integer multiple of 4. Otherwise, the transfer data size can be an integer multiple of bytesPerFrame.
param base LPSPI peripheral base address. param handle pointer to lpspi_slave_edma_handle_t structure which stores the transfer state. param transfer pointer to lpspi_transfer_t structure. return status of status_t.
Definition at line 743 of file fsl_lpspi_edma.c.
status_t LPSPI_SlaveTransferGetCountEDMA | ( | LPSPI_Type * | base, |
lpspi_slave_edma_handle_t * | handle, | ||
size_t * | count | ||
) |
Gets the slave eDMA transfer remaining bytes.
This function gets the slave eDMA transfer remaining bytes.
base | LPSPI peripheral base address. |
handle | pointer to lpspi_slave_edma_handle_t structure which stores the transfer state. |
count | Number of bytes transferred so far by the eDMA transaction. |
brief Gets the slave eDMA transfer remaining bytes.
This function gets the slave eDMA transfer remaining bytes.
param base LPSPI peripheral base address. param handle pointer to lpspi_slave_edma_handle_t structure which stores the transfer state. param count Number of bytes transferred so far by the eDMA transaction. return status of status_t.
Definition at line 1145 of file fsl_lpspi_edma.c.
volatile uint8_t _lpspi_master_edma_handle::bytesEachRead |
Bytes for each read RDR.
Definition at line 75 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA().
volatile uint8_t _lpspi_slave_edma_handle::bytesEachRead |
Bytes for each read RDR.
Definition at line 118 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferEDMA().
volatile uint8_t _lpspi_master_edma_handle::bytesEachWrite |
Bytes for each write TDR.
Definition at line 74 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA().
volatile uint8_t _lpspi_slave_edma_handle::bytesEachWrite |
Bytes for each write TDR.
Definition at line 117 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferEDMA().
volatile uint8_t _lpspi_master_edma_handle::bytesLastRead |
Bytes for last read RDR.
Definition at line 77 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA().
volatile uint8_t _lpspi_slave_edma_handle::bytesLastRead |
Bytes for last read RDR.
Definition at line 120 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferEDMA().
lpspi_master_edma_transfer_callback_t _lpspi_master_edma_handle::callback |
Completion callback.
Definition at line 99 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferCreateHandleEDMA().
lpspi_slave_edma_transfer_callback_t _lpspi_slave_edma_handle::callback |
Completion callback.
Definition at line 142 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferCreateHandleEDMA().
edma_handle_t* _lpspi_master_edma_handle::edmaRxRegToRxDataHandle |
edma_handle_t handle point used for RxReg to RxData buff
Definition at line 102 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferAbortEDMA(), LPSPI_MasterTransferCreateHandleEDMA(), LPSPI_MasterTransferEDMA(), and LPSPI_MasterTransferGetCountEDMA().
edma_handle_t* _lpspi_slave_edma_handle::edmaRxRegToRxDataHandle |
edma_handle_t handle point used for RxReg to RxData buff
Definition at line 145 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferAbortEDMA(), LPSPI_SlaveTransferCreateHandleEDMA(), LPSPI_SlaveTransferEDMA(), and LPSPI_SlaveTransferGetCountEDMA().
edma_handle_t* _lpspi_master_edma_handle::edmaTxDataToTxRegHandle |
edma_handle_t handle point used for TxData to TxReg buff
Definition at line 103 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferAbortEDMA(), LPSPI_MasterTransferCreateHandleEDMA(), and LPSPI_MasterTransferEDMA().
edma_handle_t* _lpspi_slave_edma_handle::edmaTxDataToTxRegHandle |
edma_handle_t handle point used for TxData to TxReg
Definition at line 146 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferAbortEDMA(), LPSPI_SlaveTransferCreateHandleEDMA(), and LPSPI_SlaveTransferEDMA().
uint32_t _lpspi_slave_edma_handle::errorCount |
Error count for slave transfer.
Definition at line 140 of file fsl_lpspi_edma.h.
volatile uint8_t _lpspi_master_edma_handle::fifoSize |
FIFO dataSize.
Definition at line 70 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA().
volatile uint8_t _lpspi_slave_edma_handle::fifoSize |
FIFO dataSize.
Definition at line 113 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferEDMA().
volatile bool _lpspi_master_edma_handle::isByteSwap |
A flag that whether should byte swap.
Definition at line 68 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA().
volatile bool _lpspi_slave_edma_handle::isByteSwap |
A flag that whether should byte swap.
Definition at line 111 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferEDMA().
volatile bool _lpspi_master_edma_handle::isPcsContinuous |
Is PCS continuous in transfer.
Definition at line 66 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA().
volatile uint8_t _lpspi_master_edma_handle::isThereExtraRxBytes |
Is there extra RX byte.
Definition at line 78 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA().
volatile uint8_t _lpspi_slave_edma_handle::isThereExtraRxBytes |
Is there extra RX byte.
Definition at line 121 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferEDMA().
edma_tcd_t _lpspi_slave_edma_handle::lpspiSoftwareTCD[2] |
SoftwareTCD, internal used
Definition at line 148 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferEDMA().
edma_tcd_t _lpspi_master_edma_handle::lpspiSoftwareTCD[3] |
SoftwareTCD, internal used
Definition at line 105 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA().
uint8_t _lpspi_master_edma_handle::nbytes |
eDMA minor byte transfer count initially configured.
Definition at line 97 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA(), and LPSPI_MasterTransferGetCountEDMA().
uint8_t _lpspi_slave_edma_handle::nbytes |
eDMA minor byte transfer count initially configured.
Definition at line 123 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferEDMA(), and LPSPI_SlaveTransferGetCountEDMA().
volatile uint32_t _lpspi_master_edma_handle::readRegRemainingTimes |
Read RDR register remaining times.
Definition at line 86 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA().
volatile uint32_t _lpspi_slave_edma_handle::readRegRemainingTimes |
Read RDR register remaining times.
Definition at line 131 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferEDMA().
uint32_t _lpspi_master_edma_handle::rxBuffIfNull |
Used if there is not rxData for DMA purpose.
Definition at line 91 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA().
uint32_t _lpspi_slave_edma_handle::rxBuffIfNull |
Used if there is not rxData for DMA purpose.
Definition at line 136 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferEDMA().
uint8_t* volatile _lpspi_master_edma_handle::rxData |
Receive buffer.
Definition at line 81 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA().
uint8_t* volatile _lpspi_slave_edma_handle::rxData |
Receive buffer.
Definition at line 126 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferEDMA().
volatile size_t _lpspi_master_edma_handle::rxRemainingByteCount |
Number of bytes remaining to receive.
Definition at line 83 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA().
volatile size_t _lpspi_slave_edma_handle::rxRemainingByteCount |
Number of bytes remaining to receive.
Definition at line 128 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferEDMA().
volatile uint8_t _lpspi_master_edma_handle::rxWatermark |
Rx watermark.
Definition at line 72 of file fsl_lpspi_edma.h.
volatile uint8_t _lpspi_slave_edma_handle::rxWatermark |
Rx watermark.
Definition at line 115 of file fsl_lpspi_edma.h.
volatile uint8_t _lpspi_master_edma_handle::state |
LPSPI transfer state , _lpspi_transfer_state.
Definition at line 95 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferAbortEDMA(), LPSPI_MasterTransferEDMA(), and LPSPI_MasterTransferGetCountEDMA().
volatile uint8_t _lpspi_slave_edma_handle::state |
LPSPI transfer state.
Definition at line 138 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferAbortEDMA(), LPSPI_SlaveTransferEDMA(), and LPSPI_SlaveTransferGetCountEDMA().
uint32_t _lpspi_master_edma_handle::totalByteCount |
Number of transfer bytes
Definition at line 88 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA(), and LPSPI_MasterTransferGetCountEDMA().
uint32_t _lpspi_slave_edma_handle::totalByteCount |
Number of transfer bytes
Definition at line 133 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferEDMA(), and LPSPI_SlaveTransferGetCountEDMA().
uint32_t _lpspi_master_edma_handle::transmitCommand |
Used to write TCR for DMA purpose.
Definition at line 93 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA().
uint32_t _lpspi_master_edma_handle::txBuffIfNull |
Used if there is not txData for DMA purpose.
Definition at line 90 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA().
uint32_t _lpspi_slave_edma_handle::txBuffIfNull |
Used if there is not txData for DMA purpose.
Definition at line 135 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferEDMA().
uint8_t* volatile _lpspi_master_edma_handle::txData |
Send buffer.
Definition at line 80 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA().
uint8_t* volatile _lpspi_slave_edma_handle::txData |
Send buffer.
Definition at line 125 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferEDMA().
volatile size_t _lpspi_master_edma_handle::txRemainingByteCount |
Number of bytes remaining to send.
Definition at line 82 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA().
volatile size_t _lpspi_slave_edma_handle::txRemainingByteCount |
Number of bytes remaining to send.
Definition at line 127 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferEDMA().
void* _lpspi_master_edma_handle::userData |
Callback user data.
Definition at line 100 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferCreateHandleEDMA().
void* _lpspi_slave_edma_handle::userData |
Callback user data.
Definition at line 143 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferCreateHandleEDMA().
volatile uint32_t _lpspi_master_edma_handle::writeRegRemainingTimes |
Write TDR register remaining times.
Definition at line 85 of file fsl_lpspi_edma.h.
Referenced by LPSPI_MasterTransferEDMA().
volatile uint32_t _lpspi_slave_edma_handle::writeRegRemainingTimes |
Write TDR register remaining times.
Definition at line 130 of file fsl_lpspi_edma.h.
Referenced by LPSPI_SlaveTransferEDMA().