8#ifndef _FSL_FLEXIO_UART_EDMA_H_
9#define _FSL_FLEXIO_UART_EDMA_H_
11#include "fsl_flexio_uart.h"
26#define FSL_FLEXIO_UART_EDMA_DRIVER_VERSION (MAKE_VERSION(2, 4, 1))
34 flexio_uart_edma_handle_t *handle,
62#if defined(__cplusplus)
84 flexio_uart_edma_handle_t *handle,
103 flexio_uart_edma_handle_t *handle,
119 flexio_uart_edma_handle_t *handle,
167 flexio_uart_edma_handle_t *handle,
172#if defined(__cplusplus)
struct _edma_handle edma_handle_t
eDMA transfer handle structure
edma_handle_t * txEdmaHandle
Definition fsl_flexio_uart_edma.h:49
volatile uint8_t txState
Definition fsl_flexio_uart_edma.h:54
void * userData
Definition fsl_flexio_uart_edma.h:44
status_t FLEXIO_UART_TransferCreateHandleEDMA(FLEXIO_UART_Type *base, flexio_uart_edma_handle_t *handle, flexio_uart_edma_transfer_callback_t callback, void *userData, edma_handle_t *txEdmaHandle, edma_handle_t *rxEdmaHandle)
Initializes the UART handle which is used in transactional functions.
Definition fsl_flexio_uart_edma.c:139
void FLEXIO_UART_TransferAbortSendEDMA(FLEXIO_UART_Type *base, flexio_uart_edma_handle_t *handle)
Aborts the sent data which using eDMA.
Definition fsl_flexio_uart_edma.c:315
status_t FLEXIO_UART_TransferGetReceiveCountEDMA(FLEXIO_UART_Type *base, flexio_uart_edma_handle_t *handle, size_t *count)
Gets the number of bytes received.
Definition fsl_flexio_uart_edma.c:360
size_t txDataSizeAll
Definition fsl_flexio_uart_edma.h:46
status_t FLEXIO_UART_TransferSendEDMA(FLEXIO_UART_Type *base, flexio_uart_edma_handle_t *handle, flexio_uart_transfer_t *xfer)
Sends data using eDMA.
Definition fsl_flexio_uart_edma.c:204
size_t rxDataSizeAll
Definition fsl_flexio_uart_edma.h:47
status_t FLEXIO_UART_TransferReceiveEDMA(FLEXIO_UART_Type *base, flexio_uart_edma_handle_t *handle, flexio_uart_transfer_t *xfer)
Receives data using eDMA.
Definition fsl_flexio_uart_edma.c:262
uint8_t nbytes
Definition fsl_flexio_uart_edma.h:52
void FLEXIO_UART_TransferAbortReceiveEDMA(FLEXIO_UART_Type *base, flexio_uart_edma_handle_t *handle)
Aborts the receive data which using eDMA.
Definition fsl_flexio_uart_edma.c:336
void(*) flexio_uart_edma_transfer_callback_t(FLEXIO_UART_Type *base, flexio_uart_edma_handle_t *handle, status_t status, void *userData)
UART transfer callback function.
Definition fsl_flexio_uart_edma.h:33
edma_handle_t * rxEdmaHandle
Definition fsl_flexio_uart_edma.h:50
volatile uint8_t rxState
Definition fsl_flexio_uart_edma.h:55
status_t FLEXIO_UART_TransferGetSendCountEDMA(FLEXIO_UART_Type *base, flexio_uart_edma_handle_t *handle, size_t *count)
Gets the number of bytes sent out.
Definition fsl_flexio_uart_edma.c:391
flexio_uart_edma_transfer_callback_t callback
Definition fsl_flexio_uart_edma.h:43
struct _flexio_uart_type FLEXIO_UART_Type
Define FlexIO UART access structure typedef.
struct _flexio_uart_transfer flexio_uart_transfer_t
Define FlexIO UART transfer structure.
int32_t status_t
Type used for all status and error return values.
Definition fsl_common.h:225
UART eDMA handle.
Definition fsl_flexio_uart_edma.h:42