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