⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cx25871.h

📁 EP931X系列的WinCE显示器驱动源代码
💻 H
字号:
//**********************************************************************
//                                                                      
// Filename: CX25871.h
//                                                                      
// Description: Regisister Definitions and function prototypes for
//              CX25871 NTSC/PAL encoder.
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Use of this source code is subject to the terms of the Cirrus end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to 
// use this source code. For a copy of the EULA, please see the 
// EULA.RTF on your install media.
//
// Copyright(c) Cirrus Logic Corporation 2003, All Rights Reserved                       
//                                                                      
//**********************************************************************

#ifndef _H_CX25871
#define _H_CX25871

//
// CS25871 Device Address.
//
#define CX25871_DEV_ADDRESS                     0x88

//
// Register 0x32
//
#define CX25871_REGx32_AUTO_CHK                 0x80
#define CX25871_REGx32_DRVS_MASK                0x60
#define CX25871_REGx32_DRVS_SHIFT               5
#define CX25871_REGx32_SETUP_HOLD               0x10
#define CX25871_REGx32_INMODE_                  0x08
#define CX25871_REGx32_DATDLY_RE                0x04
#define CX25871_REGx32_OFFSET_RGB               0x02
#define CX25871_REGx32_CSC_SEL                  0x01

//
// Register 0xBA
//
#define CX25871_REGxBA_SRESET                   0x80
#define CX25871_REGxBA_CHECK_STAT               0x40
#define CX25871_REGxBA_SLAVER                   0x20
#define CX25871_REGxBA_DACOFF                   0x10
#define CX25871_REGxBA_DACDISD                  0x08
#define CX25871_REGxBA_DACDISC                  0x04
#define CX25871_REGxBA_DACDISB                  0x02
#define CX25871_REGxBA_DACDISA                  0x01

//
// Register 0xC4
//
#define CX25871_REGxC4_ESTATUS_MASK             0xC0
#define CX25871_REGxC4_ESTATUS_SHIFT            6
#define CX25871_REGxC4_ECCF2                    0x20
#define CX25871_REGxC4_ECCF1                    0x10
#define CX25871_REGxC4_ECCGATE                  0x08
#define CX25871_REGxC4_ECBAR                    0x04
#define CX25871_REGxC4_DCHROMA                  0x02
#define CX25871_REGxC4_EN_OUT                   0x01
                                                

//
// Register 0xC6
//
#define CX25871_REGxC6_EN_BLANKO                0x80
#define CX25871_REGxC6_EN_DOT                   0x40
#define CX25871_REGxC6_FIELDI                   0x20
#define CX25871_REGxC6_VSYNCI                   0x10
#define CX25871_REGxC6_HSYNCI                   0x08
#define CX25871_REGxC6_INMODE_MASK              0x07
#define CX25871_REGxC6_INMODE_SHIFT             0

#endif // _H_CX25871

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -