📄 serial.h
字号:
#ifndef __SERIAL_H__
#define __SERIAL_H__
#define uchar_code unsigned char code
#define uchar unsigned char
#define SELInt_on() ES=1 //串行口中断允许
#define SELInt_off() ES=0 //串行口中断禁止
void Ser_Init(void);
void Ser_TxDchar(uchar);
void Ser_TXDstring(uchar *p,uchar lenth);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -