uart.h

来自「基于AVR的超声波测距程序」· C头文件 代码 · 共 17 行

H
17
字号
#ifndef _Uart_h_
#define _Uart_h_

#ifdef Debug	

uchar SetPrintfConvertMode; //使用printf作其他转换,并非输出到UART

void Uart_Init(void); //串口初始化

int System_putchar(char c, FILE *stream); //串口输出

int System_getchar(FILE *stream);	//串口输入

#endif

#endif

⌨️ 快捷键说明

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