27#ifndef LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX78002_CAMERAIF_H_
28#define LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX78002_CAMERAIF_H_
31#include "mxc_device.h"
51 MXC_PCIF_DATAWIDTH_8_BIT = 0,
52 MXC_PCIF_DATAWIDTH_10_BIT,
53 MXC_PCIF_DATAWIDTH_12_BIT,
61 MXC_PCIF_GPIO_DATAWIDTH_8_BIT = 0,
62 MXC_PCIF_GPIO_DATAWIDTH_10_BIT,
63 MXC_PCIF_GPIO_DATAWIDTH_12_BIT,
71 MXC_PCIF_READMODE_SINGLE_MODE = 1,
72 MXC_PCIF_READMODE_CONTINUES_MODE,
80 MXC_PCIF_TIMINGSEL_HSYNC_and_VSYNC = 0,
81 MXC_PCIF_TIMINGSEL_SAV_and_EAV,
Registers, Bit Masks and Bit Positions for the CAMERAIF Peripheral Module.
void MXC_PCIF_SetThreshold(int fifo_thrsh)
Set camera FIFO threshold.
mxc_pcif_readmode_t
The list of Camera Interface ReadMode options supported.
Definition: cameraif.h:70
unsigned int MXC_PCIF_GetData(void)
Read fifo of PCIF.
void MXC_PCIF_SetDataWidth(mxc_pcif_datawidth_t datawidth)
Set data width for the camera interface.
mxc_pcif_timingsel_t
The list of Camera Interface TimingSel options supported.
Definition: cameraif.h:79
int MXC_PCIF_Init(mxc_pcif_gpio_datawidth_t gpioDataWidth)
Initialize the Parallel Camera Interface.
mxc_pcif_gpio_datawidth_t
The list of Camera GPIO Datawidth options supported.
Definition: cameraif.h:60
void MXC_PCIF_DisableInt(uint32_t flags)
Disable camera interrupts.
void MXC_PCIF_Start(mxc_pcif_readmode_t readmode)
Start to capture image from camera interface.
void MXC_PCIF_EnableInt(uint32_t flags)
Enable camera interrupts.
void MXC_PCIF_Stop(void)
Stop capture, disable Parallel camera interface.
void MXC_PCIF_SetTimingSel(mxc_pcif_timingsel_t timingsel)
Set the desired timing mode for the camera interface.
mxc_pcif_datawidth_t
The list of Camera Interface Datawidth options supported.
Definition: cameraif.h:50