8#ifndef _FSL_FLEXIO_CAMERA_EDMA_H_
9#define _FSL_FLEXIO_CAMERA_EDMA_H_
11#include "fsl_flexio_camera.h"
26#define FSL_FLEXIO_CAMERA_EDMA_DRIVER_VERSION (MAKE_VERSION(2, 1, 3))
55#if defined(__cplusplus)
124#if defined(__cplusplus)
struct _edma_handle edma_handle_t
eDMA transfer handle structure
struct _flexio_camera_transfer flexio_camera_transfer_t
Define FlexIO Camera transfer structure.
struct _flexio_camera_type FLEXIO_CAMERA_Type
Define structure of configuring the FlexIO Camera device.
status_t FLEXIO_CAMERA_TransferReceiveEDMA(FLEXIO_CAMERA_Type *base, flexio_camera_edma_handle_t *handle, flexio_camera_transfer_t *xfer)
Receives data using eDMA.
uint8_t nbytes
Definition fsl_flexio_camera_edma.h:47
struct _flexio_camera_edma_handle flexio_camera_edma_handle_t
Forward declaration of the handle typedef.
Definition fsl_flexio_camera_edma.h:30
size_t rxSize
Definition fsl_flexio_camera_edma.h:45
status_t FLEXIO_CAMERA_TransferGetReceiveCountEDMA(FLEXIO_CAMERA_Type *base, flexio_camera_edma_handle_t *handle, size_t *count)
Gets the remaining bytes to be received.
flexio_camera_edma_transfer_callback_t callback
Definition fsl_flexio_camera_edma.h:43
void * userData
Definition fsl_flexio_camera_edma.h:44
void FLEXIO_CAMERA_TransferAbortReceiveEDMA(FLEXIO_CAMERA_Type *base, flexio_camera_edma_handle_t *handle)
Aborts the receive data which used the eDMA.
edma_handle_t * rxEdmaHandle
Definition fsl_flexio_camera_edma.h:46
void(*) flexio_camera_edma_transfer_callback_t(FLEXIO_CAMERA_Type *base, flexio_camera_edma_handle_t *handle, status_t status, void *userData)
Camera transfer callback function.
Definition fsl_flexio_camera_edma.h:33
volatile uint8_t rxState
Definition fsl_flexio_camera_edma.h:48
status_t FLEXIO_CAMERA_TransferCreateHandleEDMA(FLEXIO_CAMERA_Type *base, flexio_camera_edma_handle_t *handle, flexio_camera_edma_transfer_callback_t callback, void *userData, edma_handle_t *rxEdmaHandle)
Initializes the Camera handle, which is used in transactional functions.
int32_t status_t
Type used for all status and error return values.
Definition fsl_common.h:225
Camera eDMA handle.
Definition fsl_flexio_camera_edma.h:42