console.h
来自「it is a sample code for s3c2410 board.」· C头文件 代码 · 共 29 行
H
29 行
#ifndef __CONSOLE_H
#define __CONSOLE_H
#define KEY_BACKSPACE 0x08
#define KEY_ENTER 0x0d
#define KEY_ESC 0x1b
#define NULL 0
#define NoANS 0
#define ANS_Y 1
#define ANS_N 2
#define ANS_OTHER 3
int console_init(void);
int console_write(int ch);
int console_read(void);
int kbhit(void);
int getch(void);
int putch(int ch);
int puts(const char *s);
int getstr(const char *s, int n);
void SendUARTData(void);
void RecUARTData(void);
#endif /* __CONSOLE_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?