uart2.h 197 B

1234567891011
  1. #ifndef __UART2_H__
  2. #define __UART2_H__
  3. #include <rtthread.h>
  4. #define U2_BUF_MAX (1024+256)
  5. int u2_send_buf(uint8_t *buf , int size);
  6. void uart2_clear_rx_buffer(void);
  7. #endif /* __UART2_H__ */