rt-thread-official/bsp/bouffalo_lab/libraries/rt_drivers/drv_uart.h

24 lines
423 B
C
Executable File

/*
* Copyright (c) 2006-2023, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2022/12/25 flyingcys first version
*/
#ifndef __DRV_USART_H__
#define __DRV_USART_H__
#include <rtthread.h>
#include "rtdevice.h"
#include <rthw.h>
#include "bflb_uart.h"
#include "bflb_gpio.h"
int rt_hw_uart_init(void);
#endif /* __DRV_USART_H__ */