debug.h

来自「avrlib.rar ,一个学习AVR处理器十分有用的函数库.」· C头文件 代码 · 共 23 行

H
23
字号


#ifndef _DEBUG_H
#define _DEBUG_H

#include <avr/pgmspace.h>
#include "global.h"

#define DEBUG_MODE_LCD		0x01
#define DEBUG_MODE_SERIAL	0x02
#define DEBUG_MODE_OSC		0x04

void debugInitLCD(u08 x, u08 y);

void debugInitOSC(void);

void debug(const char * fmt);

void debugFlash(u08 port, u08 pin);

#endif

⌨️ 快捷键说明

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