?? port.h
字號:
#ifndef PORT_H
#define PORT_H
# define com1_dataport 0x3f8
# define com1_intenable 0x3f9
# define com1_intflag 0x3fa
# define com1_lineclt 0x3fb
# define com1_modemclt 0x3fc
# define com1_lineflag 0x3fd
# define com1_modemflag 0x3fe
# define com1_brlsb 0x3f8
# define com1_brmsb 0x3f9
# define com2_dataport 0x2f8
# define com2_intenable 0x2f9
# define com2_intflag 0x2fa
# define com2_lineclt 0x2fb
# define com2_modemclt 0x2fc
# define com2_lineflag 0x2fd
# define com2_modemflag 0x2fe
# define com2_brlsb 0x2f8
# define com2_brmsb 0x2f9
# define com3_commandport 0x2d2
# define com3_dataport 0x2d3
# define com4_commandport 0x2d0
# define com4_dataport 0x2d1
# define com5_commandport 0x2d6
# define com5_dataport 0x2d7
# define com6_commandport 0x2d4
# define com6_dataport 0x2d5
# define com7_commandport 0x2da
# define com7_dataport 0x2db
# define com8_commandport 0x2d8
# define com8_dataport 0x2d9
# define com9_commandport 0x2de
# define com9_dataport 0x2df
# define com10_commandport 0x2dc
# define com10_dataport 0x2dd
# define com11_commandport 0x2e2
# define com11_dataport 0x2e3
# define com12_commandport 0x2e0
# define com12_dataport 0x2e1
# define com13_commandport 0x2e6
# define com13_dataport 0x2e7
# define com14_commandport 0x2e4
# define com14_dataport 0x2e5
# define clock_f 7372800
# define intcommand1 0x20
# define intcommand2 0xa0
# define intmask1 0x21
# define intmask2 0xa1
void com_initial(void);
void com1_initial(void);
void com2_initial(void);
void async_com_initial(int Tcom_number);
void sync_com_initial(int Tcom_number,int Tclock_type);
void async_touch_com_sending(int Tport_number);
void touch_com1_sending(void);
void touch_com2_sending(void);
void sync_touch_com_sending(int Tport_number);
void touch_all_port(void);
void interrupt_zi_programe(int Tcom_number);
void port_end(void);
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -