blob: 4615c9db3d76f3c7f406b7540f6a41b0115f7093 (
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
29
30
|
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2021-10-02 spaceman first version
*/
#ifndef DRV_UART_H__
#define DRV_UART_H__
#include <rtthread.h>
#include "rtdevice.h"
#include <rthw.h>
int rt_hw_uart_init(void);
/* uart driver */
struct tkm32_uart
{
UART_TypeDef *uart;
IRQn_Type irq;
};
#endif
|