summaryrefslogtreecommitdiff
path: root/bsp/ESP32_C3/main/drv_uart.h
blob: 26ee4ef30a2c3dbe47fc428e6cb3dfa8ac13e98c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Copyright (c) 2006-2022, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-08-04     tangzz98     first version
 *
 */

#ifndef __DRV_UART_H__
#define __DRV_UART_H__

#include <rtthread.h>
#include <rthw.h>

#ifdef RT_USING_DEVICE
#include <rtdevice.h>
#endif

#include "driver/uart.h"
#include "hal/uart_hal.h"
#include "sdkconfig.h"

int rt_hw_uart_init(void);

#endif /* __DRV_UART_H__ */