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

Macros
CCAP Exported Constants
Standard Driver » CCAP Driver

## 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))

## Detailed Description

## Macro Definition Documentation

## ◆ CCAP_CTL_ADDRSW

#define CCAP_CTL_ADDRSW

CCAP CTL setting for packet buffer address switch

Definition at line 33 of file ccap.h.

## ◆ CCAP_CTL_CCAPEN

#define CCAP_CTL_CCAPEN

CCAP CTL setting for enabling capture engine mode

Definition at line 32 of file ccap.h.

## ◆ CCAP_CTL_MY8_MY4

#define CCAP_CTL_MY8_MY4

CCAP CTL setting for 4-bit data I/O interface with Mono

Definition at line 39 of file ccap.h.

## ◆ CCAP_CTL_MY8_MY8

#define CCAP_CTL_MY8_MY8

CCAP CTL setting for 8-bit data I/O interface with Mono

Definition at line 40 of file ccap.h.

## ◆ CCAP_CTL_PKTEN

#define CCAP_CTL_PKTEN

CCAP CTL setting for enabling packet output mode

Definition at line 34 of file ccap.h.

## ◆ CCAP_CTL_PLNEN

#define CCAP_CTL_PLNEN

CCAP CTL setting for enabling planar output mode

Definition at line 35 of file ccap.h.

## ◆ CCAP_CTL_RESET

#define CCAP_CTL_RESET

CCAP CTL setting for capture reset

Definition at line 38 of file ccap.h.

## ◆ CCAP_CTL_SHUTTER

#define CCAP_CTL_SHUTTER

CCAP CTL setting for enabling shutter mode

Definition at line 36 of file ccap.h.

## ◆ CCAP_CTL_UPDATE

#define CCAP_CTL_UPDATE

CCAP CTL setting for enabling update register at new frame

Definition at line 37 of file ccap.h.

## ◆ CCAP_INT_ADDRMIEN_ENABLE

#define CCAP_INT_ADDRMIEN_ENABLE

VININT setting for Memory Address Match Interrupt enable

Definition at line 81 of file ccap.h.

## ◆ CCAP_INT_MDIEN_ENABLE

#define CCAP_INT_MDIEN_ENABLE

VININT setting for Motion Detection Output Finish Interrupt Enable enable

Definition at line 82 of file ccap.h.

## ◆ CCAP_INT_MEIEN_ENABLE

#define CCAP_INT_MEIEN_ENABLE

VININT setting for Bus Master Transfer Error Interrupt enable

Definition at line 80 of file ccap.h.

## ◆ CCAP_INT_VIEN_ENABLE

#define CCAP_INT_VIEN_ENABLE

VININT setting for Frame End Interrupt enable

Definition at line 79 of file ccap.h.

## ◆ CCAP_INVALID_BUF

#define CCAP_INVALID_BUF ((int32_t)(0xFFFFFFFF-2))

Definition at line 88 of file ccap.h.

## ◆ CCAP_INVALID_INT

#define CCAP_INVALID_INT ((int32_t)(0xFFFFFFFF-1))

Definition at line 87 of file ccap.h.

## ◆ CCAP_INVALID_PIPE

#define CCAP_INVALID_PIPE ((int32_t)(0xFFFFFFFF-3))

Definition at line 89 of file ccap.h.

## ◆ CCAP_PAR_HSP_HIGH

#define CCAP_PAR_HSP_HIGH

CCAP PAR setting for Sensor Hsync Polarity

Definition at line 72 of file ccap.h.

## ◆ CCAP_PAR_HSP_LOW

#define CCAP_PAR_HSP_LOW

CCAP PAR setting for Sensor Hsync Polarity

Definition at line 71 of file ccap.h.

## ◆ CCAP_PAR_INDATORD_BGGR

#define CCAP_PAR_INDATORD_BGGR

CCAP PAR setting for Sensor Input Data Order, 0byte: b[0:4] G[5:8], 1byte G[0:2] R[3:8]

Definition at line 57 of file ccap.h.

## ◆ CCAP_PAR_INDATORD_GBRG

#define CCAP_PAR_INDATORD_GBRG

CCAP PAR setting for Sensor Input Data Order, 0byte: G[0:3] G[4:8], 1byte G[0:4] G[5:8]

Definition at line 58 of file ccap.h.

## ◆ CCAP_PAR_INDATORD_GRBG

#define CCAP_PAR_INDATORD_GRBG

CCAP PAR setting for Sensor Input Data Order, 0byte: G[0:3] G[4:8], 1byte G[0:4] G[5:8]

Definition at line 59 of file ccap.h.

## ◆ CCAP_PAR_INDATORD_RGGB

#define CCAP_PAR_INDATORD_RGGB

CCAP PAR setting for Sensor Input Data Order, 0byte: R[0:4] G[5:8], 1byte G[0:2] R[3:8]

Definition at line 56 of file ccap.h.

## ◆ CCAP_PAR_INDATORD_UYVY

#define CCAP_PAR_INDATORD_UYVY

CCAP PAR setting for Sensor Input Data Order, UYVY

Definition at line 53 of file ccap.h.

## ◆ CCAP_PAR_INDATORD_VYUY

#define CCAP_PAR_INDATORD_VYUY

CCAP PAR setting for Sensor Input Data Order, VYUY

Definition at line 54 of file ccap.h.

## ◆ CCAP_PAR_INDATORD_YUYV

#define CCAP_PAR_INDATORD_YUYV

CCAP PAR setting for Sensor Input Data Order, YUYV

Definition at line 51 of file ccap.h.

## ◆ CCAP_PAR_INDATORD_YVYU

#define CCAP_PAR_INDATORD_YVYU

CCAP PAR setting for Sensor Input Data Order, YVYU

Definition at line 52 of file ccap.h.

## ◆ CCAP_PAR_INFMT_RGB565

#define CCAP_PAR_INFMT_RGB565

CCAP PAR setting for Sensor Input Data RGB565 Format

Definition at line 46 of file ccap.h.

## ◆ CCAP_PAR_INFMT_YUV422

#define CCAP_PAR_INFMT_YUV422

CCAP PAR setting for Sensor Input Data YUV422 Format

Definition at line 45 of file ccap.h.

## ◆ CCAP_PAR_OUTFMT_ONLY_Y

#define CCAP_PAR_OUTFMT_ONLY_Y

CCAP PAR setting for Image Data ONLY_Y Format Output to System Memory

Definition at line 62 of file ccap.h.

## ◆ CCAP_PAR_OUTFMT_RGB555

#define CCAP_PAR_OUTFMT_RGB555

CCAP PAR setting for Image Data RGB555 Format Output to System Memory

Definition at line 63 of file ccap.h.

## ◆ CCAP_PAR_OUTFMT_RGB565

#define CCAP_PAR_OUTFMT_RGB565

CCAP PAR setting for Image Data RGB565 Format Output to System Memory

Definition at line 64 of file ccap.h.

## ◆ CCAP_PAR_OUTFMT_YUV422

#define CCAP_PAR_OUTFMT_YUV422

CCAP PAR setting for Image Data YUV422 Format Output to System Memory

Definition at line 61 of file ccap.h.

## ◆ CCAP_PAR_PCLKP_HIGH

#define CCAP_PAR_PCLKP_HIGH

CCAP PAR setting for Sensor Pixel Clock Polarity

Definition at line 74 of file ccap.h.

## ◆ CCAP_PAR_PCLKP_LOW

#define CCAP_PAR_PCLKP_LOW

CCAP PAR setting for Sensor Pixel Clock Polarity

Definition at line 73 of file ccap.h.

## ◆ CCAP_PAR_PLNFMT_YUV420

#define CCAP_PAR_PLNFMT_YUV420

CCAP PAR setting for Planar Output YUV420 Format

Definition at line 67 of file ccap.h.

## ◆ CCAP_PAR_PLNFMT_YUV422

#define CCAP_PAR_PLNFMT_YUV422

CCAP PAR setting for Planar Output YUV422 Format

Definition at line 66 of file ccap.h.

## ◆ CCAP_PAR_SENTYPE_CCIR601

#define CCAP_PAR_SENTYPE_CCIR601

CCAP PAR setting for Sensor Input CCIR601 Type

Definition at line 48 of file ccap.h.

## ◆ CCAP_PAR_SENTYPE_CCIR656

#define CCAP_PAR_SENTYPE_CCIR656

CCAP PAR setting for Sensor Input CCIR656 Type

Definition at line 49 of file ccap.h.

## ◆ CCAP_PAR_VSP_HIGH

#define CCAP_PAR_VSP_HIGH

CCAP PAR setting for Sensor Vsync Polarity

Definition at line 70 of file ccap.h.

## ◆ CCAP_PAR_VSP_LOW

#define CCAP_PAR_VSP_LOW

CCAP PAR setting for Sensor Vsync Polarity

Definition at line 69 of file ccap.h.