📄 f326_usb0_uart.h
字号:
//-----------------------------------------------------------------------------
// F326_USB0_Uart.h
//-----------------------------------------------------------------------------
//
// Header file for mouse routines.
//
#ifndef _UART_H_
#define _UART_H_
// WORD type definition, for KEIL Compiler
#ifndef _WORD_DEF_ // Compiler Specific, written
// for Little Endian
#define _WORD_DEF_
typedef union {unsigned int i; unsigned char c[2];} WORD;
#define LSB 1 // All words sent to and received
//from the host are
#define MSB 0 // little endian, this is switched
// by software when neccessary.
// These sections of code have been
// marked with "Compiler Specific"
// as above for easier modification
#endif /* _WORD_DEF_ */
extern unsigned char Uart_Buffer[10];
extern WORD Map_Buffer[2];
extern unsigned char UartDataOK;
// void Uart0SendString(unsigned char *StrHead,unsigned char Number);
#endif /* _UART_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -