console.h
来自「ucos2 in lpc2104 的源码」· C头文件 代码 · 共 39 行
H
39 行
/******************************************************************************
uC/OS-II Porting for LPC210x
By: Pary WU <parywu@mail2000.com.tw>
History:
0406271325:parywu
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 + =
减小字号Ctrl + -
显示快捷键?