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

📄 nec_fp.h

📁 Zoran V966 DVD 解码 Soc芯片的源程序
💻 H
字号:
/* **************************************************************************************
 *  Copyright (c) 2002 ZORAN Corporation, All Rights Reserved
 *  THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ZORAN CORPORATION
 *
 *  File: $Workfile: nec_fp.h $             
 *
 * Description:
 * ============
 * NEC front Panel definition
 * 
 * Log:
 * ====
 * $Revision: 4 $
 * Last Modified by $Author: Wesleyj $ at $Modtime: 04-03-09 18:17 $ 
 ****************************************************************************************
 * Updates:
 ****************************************************************************************
 * $Log: /I76/I76_Common/I76_Reference/FP/nec_fp/nec_fp.h $
 * 
 * 4     04-03-09 23:37 Wesleyj
 * BYTES_USED_TO_SCANKEY can not be set to 2,
 * 
 * 3     12/10/02 11:04a Leslie
 * Fix the "Eject" key not working problem on Skyworth Box
 * 
 * 2     12/09/02 5:58p Leslie
 * Support D16311_BT224_VFD
 * 
 * 3     23/04/02 9:26 Nirm
 * - Added dependency in "Config.h".
 * 
 * 2     25/12/01 15:57 Atai
 * Code cleaning
 * 
 * 
 **************************************************************************************** */
#include "Config.h"		// Global Configuration - do not remove!

#ifndef NEC_FP_H
#define NEC_FP_H

#ifdef D16311_BT224_VFD
#define BYTES_USED_TO_SCANKEY 	3
#else
#define BYTES_USED_TO_SCANKEY 	3
#endif

#define DISPLAY_MODE			0x00
#define DATA_SETTING			0x40
#define DISPLAY_CONTROL 		0x80
#define ADDRESS_SETTING			0xc0

#define	WRITE_DISPLAY			0x00
#define	WRITE_LIGHTS			0x01
#define	READ_KEYSCAN			0x02
#define	READ_INPUTS				0x03

#define ADDRESS_INCREASE		0x00
#define ADDRESS_FIX				0x04
#define TEST_OPERATION			0x08
#define NORMAL_OPERATION		0x00

#define	G4_S16					0x00
#define	G5_S16					0x01
#define	G6_S16					0x02
#define	G7_S15					0x03
#define	G8_S14					0x04
#define	G9_S13					0x05
#define	G10_S12					0x06
#define	G11_S11					0x07

/*add for support upd16311*/
#ifdef UPD_16311
#define G8_S20       			0x00
#define G9_S19       			0x08
#define G10_S18      			0x09
#define G11_S17      			0x0a
#define G12_S16      			0x0b
#define G13_S15      			0x0c
#define G14_S14      			0x0d
#define G15_S13      			0x0e
#define G16_S12      			0x0f
#endif  //#ifdef UPD_16311

#define	GON						0x08

#define	DIM_1_16				0x00
#define	DIM_2_16				0x01
#define	DIM_4_16				0x02
#define	DIM_10_16				0x03
#define	DIM_11_16				0x04
#define	DIM_12_16				0x05
#define	DIM_13_16				0x06
#define	DIM_14_16				0x07

static void VFD_LL_WriteByte( BYTE byte );
static void VFD_LL_ReadByte( BYTE *byte );

#endif

⌨️ 快捷键说明

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