9#ifndef _FSL_FLEXIO_MCULCD_EDMA_H_
10#define _FSL_FLEXIO_MCULCD_EDMA_H_
13#include "fsl_flexio_mculcd.h"
26#define FSL_FLEXIO_MCULCD_EDMA_DRIVER_VERSION (MAKE_VERSION(2, 0, 4))
68#if defined(__cplusplus)
146#if defined(__cplusplus)
enum _edma_modulo edma_modulo_t
eDMA modulo configuration
void FLEXIO_MCULCD_TransferAbortEDMA(FLEXIO_MCULCD_Type *base, flexio_mculcd_edma_handle_t *handle)
Aborts a FlexIO MCULCD transfer using eDMA.
void(* flexio_mculcd_edma_transfer_callback_t)(FLEXIO_MCULCD_Type *base, flexio_mculcd_edma_handle_t *handle, status_t status, void *userData)
FlexIO MCULCD master callback for transfer complete.
Definition: fsl_flexio_mculcd_edma.h:37
status_t FLEXIO_MCULCD_TransferEDMA(FLEXIO_MCULCD_Type *base, flexio_mculcd_edma_handle_t *handle, flexio_mculcd_transfer_t *xfer)
Performs a non-blocking FlexIO MCULCD transfer using eDMA.
status_t FLEXIO_MCULCD_TransferCreateHandleEDMA(FLEXIO_MCULCD_Type *base, flexio_mculcd_edma_handle_t *handle, flexio_mculcd_edma_transfer_callback_t callback, void *userData, edma_handle_t *txDmaHandle, edma_handle_t *rxDmaHandle)
Initializes the FLEXO MCULCD master eDMA handle.
status_t FLEXIO_MCULCD_TransferGetCountEDMA(FLEXIO_MCULCD_Type *base, flexio_mculcd_edma_handle_t *handle, size_t *count)
Gets the remaining bytes for FlexIO MCULCD eDMA transfer.
int32_t status_t
Type used for all status and error return values.
Definition: fsl_common.h:225
eDMA transfer handle structure
Definition: fsl_edma.h:244
FlexIO MCULCD eDMA transfer handle, users should not touch the content of the handle.
Definition: fsl_flexio_mculcd_edma.h:45
volatile uint32_t state
Definition: fsl_flexio_mculcd_edma.h:58
void * userData
Definition: fsl_flexio_mculcd_edma.h:62
uint8_t txShifterNum
Definition: fsl_flexio_mculcd_edma.h:47
edma_handle_t * rxDmaHandle
Definition: fsl_flexio_mculcd_edma.h:60
edma_handle_t * txDmaHandle
Definition: fsl_flexio_mculcd_edma.h:59
uint32_t minorLoopBytes
Definition: fsl_flexio_mculcd_edma.h:49
edma_modulo_t txEdmaModulo
Definition: fsl_flexio_mculcd_edma.h:50
size_t dataCount
Definition: fsl_flexio_mculcd_edma.h:56
FLEXIO_MCULCD_Type * base
Definition: fsl_flexio_mculcd_edma.h:46
volatile size_t remainingCount
Definition: fsl_flexio_mculcd_edma.h:57
flexio_mculcd_edma_transfer_callback_t completionCallback
Definition: fsl_flexio_mculcd_edma.h:61
uint32_t dataAddrOrSameValue
Definition: fsl_flexio_mculcd_edma.h:52
edma_modulo_t rxEdmaModulo
Definition: fsl_flexio_mculcd_edma.h:51
uint8_t rxShifterNum
Definition: fsl_flexio_mculcd_edma.h:48
Define FlexIO MCULCD transfer structure.
Definition: fsl_flexio_mculcd.h:145
Define FlexIO MCULCD access structure typedef.
Definition: fsl_flexio_mculcd.h:105