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

Functions | Variables
cap.c File Reference

NUC472/NUC442 CAP driver source file. More...

`#include "NUC472_442.h"`
Include dependency graph for cap.c:

Go to the source code of this file.

## 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
int32_t | g_CAP_i32ErrCode = 0

## Detailed Description

NUC472/NUC442 CAP driver source file.

Version
  V0.10

Revision
  18

Date
  15/10/22 10:02a

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

Definition in file cap.c.