drv_uart.h 665 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * File : drv_uart.c
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2013, RT-Thread Develop 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://openlab.rt-thread.com/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. *
  13. */
  14. #ifndef DRV_UART_H
  15. #define DRV_UART_H
  16. #include <rthw.h>
  17. #include <rtthread.h>
  18. #include <rtdevice.h>
  19. #include <MK64F12.h>
  20. #include <drivers/serial.h>
  21. void rt_hw_uart_init(void);
  22. //for kernel debug when console not registered
  23. void rt_hw_console_output(const char *str);
  24. #endif /* end of include guard: DRV_UART_H */