📄 adt600.h
字号:
/*
C language header file for sample programs for the SM200.
Science & Technology CO.,LTD.
W2-B5 High-Tech Industrial Park, ShenZhen, GuangDong, P.R.C.
Tel: 86-755-6544000
Fax: 86-755-6549140
Zip: 518057
Compiler: Turbo C (r) version 1.0, 2.0
Turbo C++ (r) version 1.0
Borland C++ (r) version 2.0, 3.0
Last update: Feb 22, 2002
*/
/*
The following constants define the location of the various registers on
the SM200 The are included to make the code more readable; statements
such as:
outportb(BaseAddress + START_CONVERSION, 0);
are less obscure than:
outportb(516, 0);
*/
#define START_CONVERSION 0
#define READ_DATA_MSB 0
#define READ_DATA_LSB 1
#define CLEAR_INT 2
#define STATUS_BYTE 2
#define PPI_0 4
#define PPI_1 5
#define PPI_2 6
#define PPI_CTRL 7
#define TIMER_A 8
#define TIMER_B 9
#define TIMER_C 10
#define TIMER_CTRL 11
#define CHANNEL_SLCT 12
#define IRQ_SLCT 12
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -