rt-thread/bsp/raspberry-pico/drivers/drv_uart.h

23 lines
482 B
C
Raw Normal View History

2021-01-28 19:59:31 +08:00
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
2021-01-28 19:59:31 +08:00
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2021-01-28 flybreak first version
* 2023-09-26 1ridic Integrate with RT-Thread driver framework.
2021-01-28 19:59:31 +08:00
*/
#ifndef __DRV_UART_H__
#define __DRV_UART_H__
2021-01-28 19:59:31 +08:00
#include <rthw.h>
#include <rtthread.h>
#ifdef RT_USING_SERIAL
2021-01-28 19:59:31 +08:00
int rt_hw_uart_init(void);
#endif /* RT_USING_SERIAL */
2021-01-28 19:59:31 +08:00
#endif /* __DRV_UART_H__ */