rtt-f030/bsp/nrf51822/drivers/uart.h

27 lines
536 B
C
Raw Normal View History

2015-04-06 13:46:14 +08:00
/*
* File : uart.h
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2015, 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
*
*/
#ifndef __UART_H__
#define __UART_H__
#define RX_PIN_NUMBER 23
#define TX_PIN_NUMBER 24
#define CTS_PIN_NUMBER 25
#define RTS_PIN_NUMBER 22
#define HWFC false
void rt_hw_uart_init(void);
#endif