📄 config.h
字号:
//***********************************************************************
// config.h
// 文件中包含了程序使用的宏定义
// by hibernate 2005.10.20
// ShenZhen Challenge Technology Co.,Ltd
//***********************************************************************
//*******************************************************************************************************
// description :this file is used to configurate the function for VX1828
//*******************************************************************************************************
#ifndef __CONFIG_H_
#define __CONFIG_H_
//osd 块定义
#define title 0x01 //osd block:title
#define content 0x02
#define bottom 0x03
//制式定义
#define PAL_N 0x00
#define PAL_B 0x01
#define PAL_M 0x02
#define NTSC 0x03
#define britc 0x00
#define contc 0x01
#define satr 0x02
#define hue 0x03
#define sharp 0x04
//(menu)顶部菜单中的活动项目标志
#define EOT 0xFF //end of table
// 以下 是关于主板的硬件定义
#define SDA_PORT P0^0
#define SCL_PORT P0^1
#define POWEER_PORT P2^7 // 电源控制口
#define HIV_PORT P2^6 // 高压板控制口
#define DOWN_PORT P1^0
#define UP_PORT P1^1
#define MENU_PORT P1^3
#define SEL_PORT P1^2
#define AV_PORT P1^4
#define POWER_EN_PORT P1^5
#define IR_PORT P3^3
//******************************************************************************************************
// define the constant for IR module
//******************************************************************************************************
#define USERNUMH 0x00 //0x86
#define USERNUML 0xFF //0x6b
#define IR_N0_CODER 0X00
#define IR_COUNTIOUS 0XFF
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -