uart_conf.h 350 B

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