| M480 BSP V3.05.001 The Board Support Package for M480 Series

Macros | Functions
ccap.h File Reference

M480 Series CCAP Driver Header File. More...

Go to the source code of this file.

## Macros
#define | CCAP_CTL_CCAPEN
#define | CCAP_CTL_ADDRSW
#define | CCAP_CTL_PKTEN
#define | CCAP_CTL_PLNEN
#define | CCAP_CTL_SHUTTER
#define | CCAP_CTL_UPDATE
#define | CCAP_CTL_RESET
#define | CCAP_CTL_MY8_MY4
#define | CCAP_CTL_MY8_MY8
#define | CCAP_PAR_INFMT_YUV422
#define | CCAP_PAR_INFMT_RGB565
#define | CCAP_PAR_SENTYPE_CCIR601
#define | CCAP_PAR_SENTYPE_CCIR656
#define | CCAP_PAR_INDATORD_YUYV
#define | CCAP_PAR_INDATORD_YVYU
#define | CCAP_PAR_INDATORD_UYVY
#define | CCAP_PAR_INDATORD_VYUY
#define | CCAP_PAR_INDATORD_RGGB
#define | CCAP_PAR_INDATORD_BGGR
#define | CCAP_PAR_INDATORD_GBRG
#define | CCAP_PAR_INDATORD_GRBG
#define | CCAP_PAR_OUTFMT_YUV422
#define | CCAP_PAR_OUTFMT_ONLY_Y
#define | CCAP_PAR_OUTFMT_RGB555
#define | CCAP_PAR_OUTFMT_RGB565
#define | CCAP_PAR_PLNFMT_YUV422
#define | CCAP_PAR_PLNFMT_YUV420
#define | CCAP_PAR_VSP_LOW
#define | CCAP_PAR_VSP_HIGH
#define | CCAP_PAR_HSP_LOW
#define | CCAP_PAR_HSP_HIGH
#define | CCAP_PAR_PCLKP_LOW
#define | CCAP_PAR_PCLKP_HIGH
#define | CCAP_INT_VIEN_ENABLE
#define | CCAP_INT_MEIEN_ENABLE
#define | CCAP_INT_ADDRMIEN_ENABLE
#define | CCAP_INT_MDIEN_ENABLE
#define | CCAP_INVALID_INT ((int32_t)(0xFFFFFFFF-1))
#define | CCAP_INVALID_BUF ((int32_t)(0xFFFFFFFF-2))
#define | CCAP_INVALID_PIPE ((int32_t)(0xFFFFFFFF-3))
#define | CCAP_IS_STOPPED()
| Is CCAP module Enable. More...
#define | CCAP_CLR_INT_FLAG(u32IntMask)
| Clear CCAP flag. More...
#define | CCAP_GET_INT_STS()
| Get CCAP Interrupt status. More...

## Functions
void | CCAP_Open (uint32_t u32InFormat, uint32_t u32OutFormet)
| Open engine clock and sensor clock. More...
void | CCAP_SetCroppingWindow (uint32_t u32VStart, uint32_t u32HStart, uint32_t u32Height, uint32_t u32Width)
| Set Cropping Window Starting Address and Size. More...
void | CCAP_SetPacketBuf (uint32_t u32Address)
| Set System Memory Packet Base Address0 Register. More...
void | CCAP_Close (void)
| Close Camera Capture Interface. More...
void | CCAP_EnableInt (uint32_t u32IntMask)
| Set CCAP Interrupt. More...
void | CCAP_DisableInt (uint32_t u32IntMask)
| Disable CCAP Interrupt. More...
void | CCAP_Start (void)
| Start Camera Capture Interface. More...
void | CCAP_Stop (uint32_t u32FrameComplete)
| Stop Camera Capture Interface. More...
void | CCAP_SetPacketScaling (uint32_t u32VNumerator, uint32_t u32VDenominator, uint32_t u32HNumerator, uint32_t u32HDenominator)
| Set Packet Scaling Vertical and Horizontal Factor Register. More...
void | CCAP_SetPacketStride (uint32_t u32Stride)
| Set Packet Frame Output Pixel Stride Width. More...
void | CCAP_EnableMono (uint32_t u32Interface)
| Enable Monochrome CMOS Sensor. More...
void | CCAP_DisableMono (void)
| Disable Monochrome CMOS Sensor. More...
void | CCAP_EnableLumaYOne (uint32_t u32th)
| Enable Luminance 8-bit Y to 1-bit Y Conversion. More...
void | CCAP_DisableLumaYOne (void)
| Disable Luminance 8-bit Y to 1-bit Y Conversion. More...

## Detailed Description

M480 Series CCAP Driver Header File.

Version
  V1.00 SPDX-License-Identifier: Apache-2.0

Copyright
  (C) 2016-2020 Nuvoton Technology Corp. All rights reserved.

Definition in file ccap.h.