| 123456789101112131415 |
- #ifndef __UART_CONF_H__
- #define __UART_CONF_H__
- #include "stm32f10x.h"
- #include "../network/timeout.h"
- #define USART1_BUF_SIZE 256 //接收一、二级缓冲区大小,缺省值2000
- typedef struct _PT_TEST_{
- uint8_t bTestStart; // 产测开始
- timeout_t ptTime;
- }PtTest;
- extern PtTest g_ptTest;
- void uart_cmd_task(uint8_t *data, uint8_t len);
- #endif
|