![]() |
MAX78002 Peripheral Driver API
Peripheral Driver API for the MAX78002
|
Modules | |
CAMERAIF_Registers | |
Enumerations | |
enum | mxc_pcif_datawidth_t |
enum | mxc_pcif_gpio_datawidth_t |
enum | mxc_pcif_readmode_t |
enum | mxc_pcif_timingsel_t |
Functions | |
int | MXC_PCIF_Init (mxc_pcif_gpio_datawidth_t gpioDataWidth) |
void | MXC_PCIF_SetDataWidth (mxc_pcif_datawidth_t datawidth) |
void | MXC_PCIF_SetTimingSel (mxc_pcif_timingsel_t timingsel) |
void | MXC_PCIF_SetThreshold (int fifo_thrsh) |
void | MXC_PCIF_EnableInt (uint32_t flags) |
void | MXC_PCIF_DisableInt (uint32_t flags) |
void | MXC_PCIF_Start (mxc_pcif_readmode_t readmode) |
void | MXC_PCIF_Stop (void) |
unsigned int | MXC_PCIF_GetData (void) |
void MXC_PCIF_DisableInt | ( | uint32_t | flags | ) |
Disable camera interrupts.
flags | Interrupt flags |
void MXC_PCIF_EnableInt | ( | uint32_t | flags | ) |
Enable camera interrupts.
flags | Interrupt flags |
unsigned int MXC_PCIF_GetData | ( | void | ) |
Read fifo of PCIF.
int MXC_PCIF_Init | ( | mxc_pcif_gpio_datawidth_t | gpioDataWidth | ) |
Initialize the Parallel Camera Interface.
gpioDataWidth | Desired datawidth for the camera interface (8, 10 or 12 bits). |
void MXC_PCIF_SetDataWidth | ( | mxc_pcif_datawidth_t | datawidth | ) |
Set data width for the camera interface.
datawidth | 8/10/12 bit |
void MXC_PCIF_SetThreshold | ( | int | fifo_thrsh | ) |
Set camera FIFO threshold.
fifo_thrsh | Desired FIFO threshold. |
void MXC_PCIF_SetTimingSel | ( | mxc_pcif_timingsel_t | timingsel | ) |
Set the desired timing mode for the camera interface.
timingsel | There are two different timing modes. HSYNC/VSYNC and Data Stream. |
void MXC_PCIF_Start | ( | mxc_pcif_readmode_t | readmode | ) |
Start to capture image from camera interface.
readmode | Single mode or Continues mode |