2021-09-04 17:56:49 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2021, lizhengyang
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
2021-09-06 19:18:27 +08:00
|
|
|
* 2021-09-02 lizhengyang first version
|
2021-09-04 17:56:49 +08:00
|
|
|
*/
|
|
|
|
#ifndef __DRV_USART_H__
|
|
|
|
#define __DRV_USART_H__
|
|
|
|
#include <rtthread.h>
|
|
|
|
#include "rtdevice.h"
|
|
|
|
|
|
|
|
#include "hc32_ddl.h"
|
|
|
|
#include "drv_irq.h"
|
|
|
|
|
|
|
|
extern int hc32_hw_uart_init(void);
|
|
|
|
#endif
|