| | |
| | | #include "BoardType.h" |
| | | #include "MyQueue.h" |
| | | |
| | | #define DefaultUart1Baud 115200 |
| | | #define DefaultUart2Baud 1000000 |
| | | #define AlterUart2Baud 500000 |
| | | |
| | | extern volatile int PendSvCount; |
| | | |
| | | |
| | | #pragma anon_unions |
| | | typedef struct tagUartStat |
| | |
| | | extern stUartStat Uart1Stat; |
| | | extern stUartStat Uart2Stat; |
| | | |
| | | #define Uart1RecvBufSize 256 |
| | | |
| | | extern unsigned int Uart1Baud; |
| | | extern unsigned int Uart2Baud; |
| | | |
| | | extern unsigned char Uart1RecvBuf1[Uart1RecvBufSize]; |
| | | extern unsigned short Uart1RecvBuf1DataLen; |
| | | |
| | | |
| | | extern unsigned char Uart2RecvBuf1[128]; |
| | | extern unsigned short Uart2RecvBuf1DataLen; |
| | | |
| | | |
| | | extern volatile char Uart1BaudGot; |
| | | extern volatile char Uart1BaudFirstGot; |
| | | //extern volatile int Uart2BaudGot; |
| | | //extern volatile int Uart2BaudFirstGot; |
| | | |