📄 mt9t001_config.h
字号:
/*
* Copyright 2004 by Texas Instruments Incorporated.
* All rights reserved. Property of Texas Instruments Incorporated.
* Restricted rights to use, duplicate or disclose this code are
* granted through contract.
*
*/
/********************************************
Supported Video Port Capture Modes
Caveats
- Higher resolutions + High bit capture modes + PIP
can result in improper operation due to
the massive memory requirements.
********************************************/
//#define MODE_8BIT
#define MODE_10BIT
//#define MODE_16BIT
//#define MODE_20BIT
/********************************************
PIP
- to enable PIP, uncomment the PIP definition
********************************************/
//#define PIP
/********************************************
Supported Modes of Operation
********************************************/
#define MT9T001_VGA_MODE 0
#define MT9T001_HDTV_1280x720_MODE 1
#define MT9T001_HDTV_1920x1080_MODE 2
#define MT9T001_320x240_MODE 3
#define MT9T001_UXGA_1600x1200_MODE 4
// EDC Required Functions
extern far EDC_Fxns MT9T001_Fxns;
// Structure of parameters passed to the EDC
typedef struct {
Uint8 NOFC;
Uint8 COMI;
Uint8 CLKRC;
Uint8 COMH;
Uint8 COMC;
Uint8 COME;
Uint8 COMG;
Uint8 CHLF;
Uint8 VBLM;
Uint8 VCHG;
Uint8 COMK;
Uint8 COMD;
Uint8 ADC;
Uint8 GAIN;
Uint8 COMA;
Uint8 BLUE;
Uint8 RED;
Uint8 COMB;
Uint8 AEC;
Uint8 COMJ;
Uint8 GbBIAS;
Uint8 GrBIAS;
Uint8 Gb1OFF;
Uint8 Gr1OFF;
Uint8 R1OFF;
Uint8 ACOM;
Uint8 FRARL;
Uint8 AEB;
Uint8 HREFST;
Uint8 HREFEND;
Uint8 VSTRT;
Uint8 VEND;
Uint8 COMM;
} MT9T001_Params;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -