debugconsole.h

来自「WWVB receiver using AVR.」· C头文件 代码 · 共 28 行

H
28
字号
/* $Id: debugconsole.h,v 1.3 2005/04/23 14:19:17 simimeie Exp $ * Functions for a serial debug console. If DEBUGCONSOLE is not defined, then * all functions here become empty hulls. */ #ifndef _DEBUGCONSOLE_H_#define _DEBUGCONSOLE_H_#ifdef DEBUGCONSOLEvoid debugconsole_init(void);void debugconsole_work(void);void debugconsole_print(uint8_t * what);void debugconsole_printhex8(uint8_t what);void debugconsole_printtext(uint8_t * what);#else#define debugconsole_init() if (0) { }#define debugconsole_work() if (0) { }#define debugconsole_print(what) if (0) { }#define debugconsole_printhex8(what) if (0) { }#define debugconsole_printtext(what) if (0) { }#endif#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?