?? saa7115.h
字號(hào):
/*
* 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.
*
*/
/* August 2004 */
/********************************************************************************/
/* saa7115.h file */
/********************************************************************************/
#ifndef _SAA7115_H
#define _SAA7115_H
#include <csl_i2c.h>
#include <edc.h>
typedef enum SAA7115_AnalogFormat {
SAA7115_AFMT_SVIDEO,
SAA7115_AFMT_COMPOSITE
} SAA7115_AnalogFormat;
typedef enum SAA7115_Mode {
SAA7115_MODE_NTSC640,
SAA7115_MODE_NTSC720,
SAA7115_MODE_PAL720,
SAA7115_MODE_PAL768,
SAA7115_MODE_CIF,
SAA7115_MODE_QCIF,
SAA7115_MODE_SQCIF,
SAA7115_MODE_SIF,
SAA7115_MODE_QVGA,
SAA7115_MODE_USER
}SAA7115_Mode;
typedef unsigned int SAA7115_Cmd;
#define SAA7115_POWERDOWN EDC_USER+1
#define SAA7115_POWERUP EDC_USER+2
#define SAA7115_SET_AMUXMODE EDC_USER+3
#define SAA7115_DETECT_LOCK_STATUS EDC_USER+4
typedef struct {
SAA7115_Mode inMode;
SAA7115_Mode outMode;
SAA7115_AnalogFormat aFmt;
Bool enableBT656Sync;
Bool enableIPortOutput;
I2C_Handle hI2C;
/* optional parameters for inMode == SAA7115_MODE_USER */
Int hSize;
Int vSize;
Bool interlaced;
} SAA7115_ConfParams;
extern EDC_Fxns SAA7115_Fxns;
/* the following definitions are DM642 EVM specific */
typedef enum SAA7115_AMuxingMode {
/* the input mumxing mode for the SAA7115 connected to VP0 */
SAA7115_DM642EVM_VP0_COMPOSIT_IN = 0,
SAA7115_DM642EVM_VP0_SVIDEO_IN = 7,
/* the input mumxing mode2_or the SAA7115 connected to VP1 */
SAA7115_DM642EVM_VP1_COMPOSIT_IN_1 = 1,
SAA7115_DM642EVM_VP1_COMPOSIT_IN_2 = 3
} SAA7115_AMuxingMode;
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -