📄 console.h
字号:
/******************************************************************************
uC/OS-II Porting for LPC210x
By: Pary WU <parywu@mail2000.com.tw>
History:
0406271325:wudee
The first stable release.
******************************************************************************/
#ifndef __CONSOLE_H_040619184028
#define __CONSOLE_H_040619184028
#include "config.h"
#include "lpc210x.h"
#ifdef __cplusplus
extern "C" {
#endif
#if (cUseConsole > 0)
void console_init(void);
char console_getch(void);
void console_putch(char c);
void console_putstr(char* str);
void console_puthex(unsigned int v);
void console_putbin(unsigned int v);
#else
#define console_init() do{}while(0)
#define console_getch() 0
#define console_putch(x) do{}while(0)
#define console_putstr() do{}while(0)
#define console_puthex() do{}while(0)
#define console_putbin() do{}while(0)
#endif
#ifdef __cplusplus
}
#endif
#endif /* __CONSOLE_H_040619184028 */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -