📄 cli_serial.h
字号:
/*****************************************************************************
*
* Module : serial.h
* Description : high level serial routines
* OS : SLOS
* Platform : generic
* History :
*
* 2nd November 2001
* - created
*
*****************************************************************************/
/* -- openHost ----------------------------------------------------------------
*
* Description : opens the communication port for the host
* command line.
*
* Parameters : UINT COM
* Return : BOOLean 0
* Notes :
*
*/
BOOL openHost (UINT COM);
/* -- writeCharToHost ---------------------------------------------------------
*
* Description : write a character to host port
*
* Parameter : char c - character to be sent to host port
* Return : none...
* Notes :
*
*/
void writeCharToHost (char c);
/* -- printToHost -------------------------------------------------------------
*
* Description : print a string to the host port
*
* Parameter : char *s - string to be printed
* Return : none...
* Notes :
*
*/
void printToHost (char *s);
/* -- readCharFromHost --------------------------------------------------------
*
* Description : read a character from host port
*
* Parameter : none...
* Return : char c - character to be sent to host port
* Notes :
*
*/
char readCharFromHost (void);
/* -- closeHost ---------------------------------------------------------------
*
* Description : closes the host port but this code should never be
* executed.
*
* Parameter : none...
* Return : char c - character to be sent to host port
* Notes :
*
*/
int closeHost (void);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -