drv_uart.h 484 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (c) 2006-2022, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. *
  9. */
  10. #ifndef DRV_UART_H
  11. #define DRV_UART_H
  12. #include <rthw.h>
  13. #include <rtthread.h>
  14. #include <rtdevice.h>
  15. #include <MK64F12.h>
  16. #include <drivers/serial.h>
  17. void rt_hw_uart_init(void);
  18. //for kernel debug when console not registered
  19. void rt_hw_console_output(const char *str);
  20. #endif /* end of include guard: DRV_UART_H */