8#ifndef _FSL_LPSPI_EDMA_H_
9#define _FSL_LPSPI_EDMA_H_
25#define FSL_LPSPI_EDMA_DRIVER_VERSION (MAKE_VERSION(2, 0, 2))
154#if defined(__cplusplus)
295#if defined(__cplusplus)
int32_t status_t
Type used for all status and error return values.
status_t LPSPI_MasterTransferGetCountEDMA(LPSPI_Type *base, lpspi_master_edma_handle_t *handle, size_t *count)
Gets the master eDMA transfer remaining bytes.
edma_handle_t * edmaTxDataToTxRegHandle
edma_tcd_t lpspiSoftwareTCD[3]
lpspi_master_edma_transfer_callback_t callback
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.
volatile uint8_t fifoSize
volatile uint8_t bytesEachWrite
volatile uint8_t bytesEachRead
edma_tcd_t lpspiSoftwareTCD[2]
edma_handle_t * edmaRxRegToRxDataHandle
volatile uint32_t readRegRemainingTimes
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.
volatile uint32_t writeRegRemainingTimes
void LPSPI_SlaveTransferAbortEDMA(LPSPI_Type *base, lpspi_slave_edma_handle_t *handle)
LPSPI slave aborts a transfer which is using eDMA.
volatile uint8_t bytesLastRead
volatile uint8_t rxWatermark
volatile uint8_t bytesEachWrite
volatile size_t rxRemainingByteCount
volatile uint8_t rxWatermark
volatile uint8_t isThereExtraRxBytes
lpspi_slave_edma_transfer_callback_t callback
volatile uint8_t isThereExtraRxBytes
volatile uint8_t fifoSize
volatile uint8_t bytesEachRead
volatile uint32_t writeRegRemainingTimes
edma_handle_t * edmaTxDataToTxRegHandle
volatile bool isPcsContinuous
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.
volatile size_t rxRemainingByteCount
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.
edma_handle_t * edmaRxRegToRxDataHandle
volatile size_t txRemainingByteCount
volatile uint32_t readRegRemainingTimes
status_t LPSPI_SlaveTransferGetCountEDMA(LPSPI_Type *base, lpspi_slave_edma_handle_t *handle, size_t *count)
Gets the slave eDMA transfer remaining bytes.
volatile size_t txRemainingByteCount
volatile uint8_t bytesLastRead
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.
eDMA transfer handle structure
LPSPI master eDMA transfer handle structure used for transactional API.
LPSPI slave eDMA transfer handle structure used for transactional API.
LPSPI master/slave transfer structure.