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

📄 io.h

📁 以ST公司CPU为核心的彩色电视机的完整源程序。
💻 H
字号:
/*********************** SGS-THOMSON MICROELECTRONICS ************************
FILENAME     : IO.H
VERSION      : V1.0
DATE         : JAN 1999
AUTHOR(s)    : ASHISH RUDOLA/ DEEPAK DOSHI
PROCESSOR    : ST92195
DESCRIPTION  : This module contains ST9 Input/output definitions.
MODIFICATIONS:
   -
*****************************************************************************/
#ifndef _iohead_
#define _iohead_

#include "tv_glob.h"

void init_IO(void);

/**********port 0 define***************************/  
#define RESERVEOP      0x80            /* Port 0.7 */
#define RESERVEAV3     0x40            /* Port 0.6 */
/* #define NC          0x20               Port 0.5 */
/* #define NC          0x10               Port 0.4 */
/* #define NC          0x08               Port 0.3 */
/* #define NC          0x04               Port 0.2 */
/* #define NC          0x02               Port 0.1 */
/* #define NC          0x01               Port 0.0 */

/**********port 2 define***************************/  
#define RESERVETXT     0x80           /* Port 2.7 */
#define RESERVEPIP     0x40           /* Port 2.6 */
/* #define SDA         0x20              Port 2.5 */
/* #define SCK         0x10              Port 2.4 */
#define RESERVEVT2     0x08           /* Port 2.3 */
#define VS             0x04           /* Port 2.2 */
#define KEY            0x02           /* Port 2.1 */
/* #define IR          0x01              Port 2.0 */

/**********port 3 define***************************/  
/* #define NC          0x80              Port 3.7 */
#define BAND_U         0x40           /* Port 3.6 */
#define BAND_VH        0x20           /* Port 3.5 */
#define BAND_VL        0x10           /* Port 3.4 */
#define SYSTEM_C       0x08           /* Port 3.6 */
/* #define NC          0x04              Port 3.2 */
/* #define NC          0x02              Port 3.1*/
#define HT             0x01           /* Port 3.0 */

#define BAND_MASK      0x70           /* Port 3.6 3.5 3.4 */
/**********port 4 define***************************/
/* #define NC          0x80               Port 4.7 */
/* #define NC          0x40               Port 4.6 */
#define POWER		   0x20            /* Port 4.5 */
/* #define NC          0x10               Port 4.4 */
#define SPMUTE         0x08            /* Port 4.3 */	
/* #define NC          0x04               Port 4.2 */
#define WOOFER         0x02            /* Port 4.1 */
#define RESERVESURR    0x01            /* Port 4.0 */
/**********port 5 define***************************/  
/* #define NC          0x80               Port 5.7 */
/* #define NC          0x40               Port 5.6 */
/* #define NC          0x20               Port 5.5 */
/* #define NC          0x10               Port 5.4 */
/* #define NC          0x08               Port 5.3 */
/* #define NC          0x04               Port 5.2 */
/* #define NC          0x02               Port 5.1 */
/* #define NC          0x01               Port 5.0 */

#define S_SW1          0x04				/* Port 5.2 */ /* feman debug */

#endif

⌨️ 快捷键说明

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