⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 debughelper.c

📁 CAN-CAN - Controller Area Network Projects
💻 C
字号:
#include <ctype.h>

#include "termio.h"
#include "debughelper.h"

void Debug_ByteToUart_p(const char *s, const uint8_t val)
{
	term_puts_p(s);
	term_puts_P(" = 0x");
	term_puthex_byte(val);
	term_puts_P(" = ");
	term_putbin_byte(val);
	if ( isprint(val) ) {
		term_puts_P(" (");
		term_putc(val);
		term_puts_P(")");
	}
	term_puts_P("\n");
}

⌨️ 快捷键说明

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