usart.h 609 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * File : usart.c
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2006-2014, 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. * Change Logs:
  11. * Date Author Notes
  12. * 2016-12-05 Pluto first implementation
  13. */
  14. #ifndef __USART_H__
  15. #define __USART_H__
  16. #include "M451Series.h"
  17. #include <rthw.h>
  18. #include <rtthread.h>
  19. #include <rtdevice.h>
  20. #define RT_USING_UART0
  21. //#define RT_USING_UART1
  22. void rt_hw_usart_init(void);
  23. #endif