1
0
mirror of https://github.com/armink/EasyLogger.git synced 2025-02-08 00:54:09 +08:00
armink 3cabe220bb 1、【更新】说明文档;
2、【更新】rtt系统下的stm32f10x平台Demo。

Signed-off-by: armink <armink.ztl@gmail.com>
2015-06-10 13:17:18 +08:00

27 lines
624 B
C

/*
* File : usart.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2009, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
*
* Change Logs:
* Date Author Notes
* 2009-01-05 Bernard the first version
*/
#ifndef __USART_H__
#define __USART_H__
#include <rthw.h>
#include <rtthread.h>
#define UART_ENABLE_IRQ(n) NVIC_EnableIRQ((n))
#define UART_DISABLE_IRQ(n) NVIC_DisableIRQ((n))
void rt_hw_usart_init(void);
#endif