tvp5150a.h
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:2k
- /*
- * Copyright 2003 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.
- *
- */
- /* "@(#) DDK 1.10.00.23 07-02-03 (ddk-b12)" */
- /********************************************************************************/
- /* tvp5150a.h file */
- /********************************************************************************/
- #ifndef _TVP5150A_H
- #define _TVP5150A_H
- #include <csl_i2c.h>
- #include <edc.h>
- typedef enum TVP5150A_AnalogFormat {
- TVP5150A_AFMT_SVIDEO,
- TVP5150A_AFMT_COMPOSITE
- } TVP5150A_AnalogFormat;
- typedef enum TVP5150A_Mode {
- TVP5150A_MODE_NTSC640,
- TVP5150A_MODE_NTSC720,
- TVP5150A_MODE_PAL720,
- TVP5150A_MODE_PAL768,
- TVP5150A_MODE_CIF,
- TVP5150A_MODE_QCIF,
- TVP5150A_MODE_SQCIF,
- TVP5150A_MODE_SIF,
- TVP5150A_MODE_USER
- }TVP5150A_Mode;
- typedef unsigned int TVP5150A_Cmd;
- #define TVP5150A_POWERDOWN EDC_USER+1
- #define TVP5150A_POWERUP EDC_USER+2
- #define TVP5150A_SET_AMUXMODE EDC_USER+3
- typedef struct {
- TVP5150A_Mode inMode;
- TVP5150A_Mode outMode;
- TVP5150A_AnalogFormat aFmt;
- Bool enableBT656Sync;
- Bool enableIPortOutput;
- I2C_Handle hI2C;
- /* optional parameters for inMode == TVP5150A_MODE_USER */
- Int hSize;
- Int vSize;
- Bool interlaced;
- } TVP5150A_ConfParams;
- extern EDC_Fxns TVP5150A_Fxns;
- #endif