drv_uart.h 612 B

12345678910111213141516171819202122
  1. /**************************************************************************//**
  2. *
  3. * @copyright (C) 2020 Nuvoton Technology Corp. All rights reserved.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0
  6. *
  7. * Change Logs:
  8. * Date Author Notes
  9. * 2020-2-7 Wayne First version
  10. *
  11. ******************************************************************************/
  12. #ifndef __DRV_UART_H__
  13. #define __DRV_UART_H__
  14. #include <rtdevice.h>
  15. #include "board.h"
  16. rt_err_t rt_hw_uart_init(void);
  17. void nu_uart_set_rs485aud(struct rt_serial_device *serial, rt_bool_t bRTSActiveLowLevel);
  18. #endif /* __DRV_UART_H__ */