| | |
| | | }; |
| | | }shortbits; |
| | | |
| | | #define RX5BUFSIZE 64 |
| | | #define TX5BUFSIZE 64 |
| | | #define RX1BUFSIZE 160 |
| | | #define TX1BUFSIZE 260 |
| | | |
| | | #define UART3RXBUFSIZE 256 |
| | | #define UART3TXBUFSIZE 64 |
| | | |
| | | extern stUartStat Uart3Stat; |
| | | extern unsigned char Uart3RxBuf[UART3RXBUFSIZE]; |
| | | extern unsigned char Uart3TxBuf[UART3TXBUFSIZE]; |
| | | extern unsigned int Uart3RecvBuf1DataLen; |
| | | extern unsigned int Uart3ToSendLen; |
| | | extern unsigned int Uart3SentLen; |
| | | |
| | | #define UART5RXBUFSIZE 256 |
| | | #define UART5TXBUFSIZE 64 |
| | | |
| | | extern stUartStat Uart5Stat; |
| | | extern unsigned char Uart5RxBuf[RX5BUFSIZE]; |
| | | extern unsigned char Uart5TxBuf[TX5BUFSIZE]; |
| | | extern unsigned char Uart5RxBuf[UART5RXBUFSIZE]; |
| | | extern unsigned char Uart5TxBuf[UART5TXBUFSIZE]; |
| | | extern unsigned int Uart5RecvBuf1DataLen; |
| | | extern unsigned int Uart5ToSendLen; |
| | | extern unsigned int Uart5SentLen; |
| | | |
| | | |
| | | #define RX6BUFSIZE 64 |
| | | #define TX6BUFSIZE 64 |
| | | #define UART6RXBUFSIZE 64 |
| | | #define UART6TXBUFSIZE 64 |
| | | |
| | | extern stUartStat Uart6Stat; |
| | | extern unsigned char Uart6RxBuf[RX6BUFSIZE]; |
| | | extern unsigned char Uart6TxBuf[TX6BUFSIZE]; |
| | | extern unsigned char Uart6RxBuf[UART6RXBUFSIZE]; |
| | | extern unsigned char Uart6TxBuf[UART6TXBUFSIZE]; |
| | | extern unsigned int Uart6RecvBuf1DataLen; |
| | | extern unsigned int Uart6ToSendLen; |
| | | extern unsigned int Uart6SentLen; |
| | |
| | | void Uart1RecvDone(void); |
| | | void Uart2SendDone(void); |
| | | void Uart2RecvDone(void); |
| | | |
| | | void Uart3SendDone(void); |
| | | void Uart3RecvDone(void); |
| | | void Uart3SendPacket(char * str, int len); |
| | | |
| | | void Uart5SendDone(void); |
| | | void Uart5RecvDone(void); |
| | | void Uart5SendPacket(char * str, int len); |
| | | |
| | | void Uart6SendDone(void); |
| | | void Uart6RecvDone(void); |
| | | void Uart6SendPacket(char * str, int len); |
| | | void Uart6SendPacket(unsigned char * str, int len); |
| | | |
| | | void SLPSendPacket(char * str, uchar len); |
| | | void SLPSendPacket(void * str, uchar len); |
| | | |
| | | int PutStr(char * str1, int len1); |
| | | int PutStr2(char * str1, int len1); |
| | | int SendPacket(int nChn, void * pBuf,int len1); |
| | | //int SendPacket1(void * pBuf,int len1); |
| | | //int SendPacket2(pKBPacket p1,int len1); |