uart.h 536 B

1234567891011121314151617181920212223242526
  1. /*
  2. * File : uart.h
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2015, RT-Thread Development Team
  5. *
  6. * The license and distribution terms for this file may be
  7. * found in the file LICENSE in this distribution or at
  8. * http://www.rt-thread.org/license/LICENSE
  9. *
  10. */
  11. #ifndef __UART_H__
  12. #define __UART_H__
  13. #define RX_PIN_NUMBER 23
  14. #define TX_PIN_NUMBER 24
  15. #define CTS_PIN_NUMBER 25
  16. #define RTS_PIN_NUMBER 22
  17. #define HWFC false
  18. void rt_hw_uart_init(void);
  19. #endif