rt-thread/bsp/nrf51822/drivers/uart.h

23 lines
360 B
C
Raw Normal View History

2015-04-06 13:46:14 +08:00
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
2015-04-06 13:46:14 +08:00
*
* SPDX-License-Identifier: Apache-2.0
2015-04-06 13:46:14 +08:00
*
*/
#ifndef __UART_H__
#define __UART_H__
2021-04-01 20:38:20 +08:00
#define RX_PIN_NUMBER 25
2015-04-06 13:46:14 +08:00
#define TX_PIN_NUMBER 24
2021-04-01 20:38:20 +08:00
#define CTS_PIN_NUMBER 26
#define RTS_PIN_NUMBER 27
2015-04-06 13:46:14 +08:00
#define HWFC false
void rt_hw_uart_init(void);
#endif