drv_uart.h 593 B

123456789101112131415161718192021
  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. rt_err_t rt_hw_uart_init(void);
  16. void nu_uart_set_rs485aud(struct rt_serial_device *serial, rt_bool_t bRTSActiveLowLevel);
  17. #endif /* __DRV_UART_H__ */