| NUC472_NUC442_BSP V3.04.000 The Board Support Package for NUC472/NUC442

Macros | Functions | Variables
cap.h File Reference

NUC470 series Image Capture Driver Header File. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros
#define | CAP_CTL_CAPEN
#define | CAP_CTL_ADDRSW
#define | CAP_CTL_PKTEN
#define | CAP_CTL_PLNEN
#define | CAP_CTL_SHUTTER
#define | CAP_CTL_UPDATE
#define | CAP_CTL_RESET
#define | CAP_PAR_INFMT_YUV422
#define | CAP_PAR_INFMT_RGB565
#define | CAP_PAR_SENTYPE_CCIR601
#define | CAP_PAR_SENTYPE_CCIR656
#define | CAP_PAR_INDATORD_YUYV
#define | CAP_PAR_INDATORD_YVYU
#define | CAP_PAR_INDATORD_UYVY
#define | CAP_PAR_INDATORD_VYUY
#define | CAP_PAR_INDATORD_RGGB
#define | CAP_PAR_INDATORD_BGGR
#define | CAP_PAR_INDATORD_GBRG
#define | CAP_PAR_INDATORD_GRBG
#define | CAP_PAR_OUTFMT_YUV422
#define | CAP_PAR_OUTFMT_ONLY_Y
#define | CAP_PAR_OUTFMT_RGB555
#define | CAP_PAR_OUTFMT_RGB565
#define | CAP_PAR_PLNFMT_YUV422
#define | CAP_PAR_PLNFMT_YUV420
#define | CAP_PAR_VSP_LOW
#define | CAP_PAR_VSP_HIGH
#define | CAP_PAR_HSP_LOW
#define | CAP_PAR_HSP_HIGH
#define | CAP_PAR_PCLKP_LOW
#define | CAP_PAR_PCLKP_HIGH
#define | CAP_INT_VIEN_ENABLE
#define | CAP_INT_MEIEN_ENABLE
#define | CAP_INT_ADDRMIEN_ENABLE
#define | CAP_INT_MDIEN_ENABLE
#define | CAP_INVALID_INT ((int32_t)(0xFFFFFFFF-1))
#define | CAP_INVALID_BUF ((int32_t)(0xFFFFFFFF-2))
#define | CAP_INVALID_PIPE ((int32_t)(0xFFFFFFFF-3))
#define | CAP_TIMEOUT_ERR
#define | CAP_IS_STOPPED()
| Is CAP module Enable. More...
#define | CAP_CLR_INT_FLAG(u32IntMask)
| Clear CAP flag. More...
#define | CAP_GET_INT_STS()
| Get CAP Interrupt status. More...

## Functions
void | CAP_Open (uint32_t u32InFormat, uint32_t u32OutFormet)
| Open engine clock and sensor clock. More...
void | CAP_SetCroppingWindow (uint32_t u32VStart, uint32_t u32HStart, uint32_t u32Height, uint32_t u32Width)
| Set Cropping Window Starting Address and Size. More...
void | CAP_SetPacketBuf (uint32_t u32Address)
| Set System Memory Packet Base Address0 Register. More...
void | CAP_SetPlanarBuf (uint32_t u32YAddr, uint32_t u32UAddr, uint32_t u32VAddr)
| Set System Memory Planar Y, U and V Base Address Registers. More...
void | CAP_Close (void)
| Close Image Capture Interface. More...
void | CAP_EnableInt (uint32_t u32IntMask)
| Set CAP Interrupt. More...
void | CAP_DisableInt (uint32_t u32IntMask)
| Disable CAP Interrupt. More...
void | CAP_Start (void)
| Start Image Capture Interface. More...
void | CAP_Stop (uint32_t u32FrameComplete)
| Stop Image Capture Interface. More...
void | CAP_SetPacketScaling (uint32_t u32VNumerator, uint32_t u32VDenominator, uint32_t u32HNumerator, uint32_t u32HDenominator)
| Set Packet Scaling Vertical and Horizontal Factor Register. More...
void | CAP_SetPlanarScaling (uint32_t u32VNumerator, uint32_t u32VDenominator, uint32_t u32HNumerator, uint32_t u32HDenominator)
| Set Planar Scaling Vertical and Horizontal Factor Register. More...
void | CAP_SetPacketStride (uint32_t u32Stride)
| Set Packet Frame Output Pixel Stride Width. More...
void | CAP_SetPlanarStride (uint32_t u32Stride)
| Set Planar Frame Output Pixel Stride Width. More...
void | CAP_EnableMotionDet (uint32_t u32Freq, uint32_t u32BlockSize, uint32_t u32Format, uint32_t u32Threshold, uint32_t u32YDetAddr, uint32_t u32DetAddr)
| Enable Motion Detection Function. More...
void | CAP_DisableMotionDet (void)
| Enable Motion Detection Function. More...

## Variables
static uint32_t | u32EscapeFrame = 0

## Detailed Description

NUC470 series Image Capture Driver Header File.

Version
  V0.10

Revision
  17

Date
  15/10/22 10:00a

Note
  SPDX-License-Identifier: Apache-2.0 Copyright (C) 2013 Nuvoton Technology Corp. All rights reserved.

Definition in file cap.h.