📄 comm.h
字号:
#ifndef TCICOMM
extern int xonxoff; /* auto xon/xoff support is on flag */
extern int portin; /* com port is open flag */
extern int xofsnt; /* XOFF transmitted flag */
extern int xofrcv; /* XOFF received flag */
#endif
#ifndef TIMEOUT /* Define Timeout if not already */
#define TIMEOUT -1
#endif
#define USR_BRK -2
/* port number parameters for comm_open() */
#define COM1 1 /* These are not really used but were */
#define COM2 2 /* here before. They can be commented */
#define COM3 3 /* out */
#define COM4 4
/* prototypes for externally called functions */
int comm_open ( int portid, unsigned speed );
void comm_close ( void );
void comm_flush ( void );
int comm_avail ( void );
void comm_putc ( unsigned char c );
int comm_getc ( unsigned seconds );
void flsh_dtr ( void );
int carrier ( void );
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -