uart_conf3333.h 298 B

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