9#ifndef _FSL_FLEXIO_CAMERA_H_
10#define _FSL_FLEXIO_CAMERA_H_
12#include "fsl_common.h"
13#include "fsl_flexio.h"
26#define FSL_FLEXIO_CAMERA_DRIVER_VERSION (MAKE_VERSION(2, 1, 3))
30#define FLEXIO_CAMERA_PARALLEL_DATA_WIDTH (8U)
85#if defined(__cplusplus)
133 base->flexioBase->CTRL |= FLEXIO_CTRL_FLEXEN_MASK;
208 FLEXIO_EnableShifterStatusDMA(base->flexioBase, 1UL << base->shifterStartIdx, enable);
224#if defined(__cplusplus)
FLEXIO_Type * flexioBase
Definition: fsl_flexio_camera.h:51
_flexio_camera_status_flags
Define FlexIO Camera status mask.
Definition: fsl_flexio_camera.h:41
void FLEXIO_CAMERA_Deinit(FLEXIO_CAMERA_Type *base)
Resets the FLEXIO_CAMERA shifer and timer config.
uint32_t shifterStartIdx
Definition: fsl_flexio_camera.h:58
void FLEXIO_CAMERA_ClearStatusFlags(FLEXIO_CAMERA_Type *base, uint32_t mask)
Clears the receive buffer full flag manually.
struct _flexio_camera_config flexio_camera_config_t
Define FlexIO Camera user configuration structure.
uint32_t hrefPinIdx
Definition: fsl_flexio_camera.h:56
void FLEXIO_CAMERA_Init(FLEXIO_CAMERA_Type *base, const flexio_camera_config_t *config)
Ungates the FlexIO clock, resets the FlexIO module, and configures the FlexIO Camera.
void FLEXIO_CAMERA_DisableInterrupt(FLEXIO_CAMERA_Type *base)
Switches off the interrupt for receive buffer full event.
uint32_t datPinStartIdx
Definition: fsl_flexio_camera.h:52
void FLEXIO_CAMERA_GetDefaultConfig(flexio_camera_config_t *config)
Gets the default configuration to configure the FlexIO Camera. The configuration can be used directly...
bool enablecamera
Definition: fsl_flexio_camera.h:66
uint32_t dataNum
Definition: fsl_flexio_camera.h:78
uint32_t shifterCount
Definition: fsl_flexio_camera.h:59
bool enableInDoze
Definition: fsl_flexio_camera.h:67
struct _flexio_camera_transfer flexio_camera_transfer_t
Define FlexIO Camera transfer structure.
uint32_t dataAddress
Definition: fsl_flexio_camera.h:77
bool enableInDebug
Definition: fsl_flexio_camera.h:68
uint32_t pclkPinIdx
Definition: fsl_flexio_camera.h:55
uint32_t timerIdx
Definition: fsl_flexio_camera.h:60
uint32_t FLEXIO_CAMERA_GetStatusFlags(FLEXIO_CAMERA_Type *base)
Gets the FlexIO Camera status flags.
void FLEXIO_CAMERA_EnableInterrupt(FLEXIO_CAMERA_Type *base)
Switches on the interrupt for receive buffer full event.
struct _flexio_camera_type FLEXIO_CAMERA_Type
Define structure of configuring the FlexIO Camera device.
bool enableFastAccess
Definition: fsl_flexio_camera.h:69
@ kFLEXIO_CAMERA_RxDataRegFullFlag
Definition: fsl_flexio_camera.h:42
@ kFLEXIO_CAMERA_RxErrorFlag
Definition: fsl_flexio_camera.h:43
@ kStatus_FLEXIO_CAMERA_RxIdle
Definition: fsl_flexio_camera.h:36
@ kStatus_FLEXIO_CAMERA_RxBusy
Definition: fsl_flexio_camera.h:35
uint32_t FLEXIO_GetShifterBufferAddress(FLEXIO_Type *base, flexio_shifter_buffer_type_t type, uint8_t index)
Gets the shifter buffer address for the DMA transfer usage.
Definition: fsl_flexio.c:173
@ kFLEXIO_ShifterBuffer
Definition: fsl_flexio.h:223
#define MAKE_STATUS(group, code)
Construct a status code value from a group and code number.
Definition: fsl_common.h:47
@ kStatusGroup_FLEXIO_CAMERA
Definition: fsl_common.h:127
Definition: MIMXRT1052.h:20511
Define FlexIO Camera user configuration structure.
Definition: fsl_flexio_camera.h:65
Define FlexIO Camera transfer structure.
Definition: fsl_flexio_camera.h:76
Define structure of configuring the FlexIO Camera device.
Definition: fsl_flexio_camera.h:50
Definition: deflate.c:114