tty_uart.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Takuo Yonezawa <Yonezawa-T2@mail.dnp.co.jp>
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser General
5  * Public License v2.1. See the file LICENSE in the top level directory for
6  * more details.
7  */
8 
19 #ifndef TTY_UART_H
20 #define TTY_UART_H
21 
22 #include "periph/uart.h"
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
34 void tty_uart_setup(uart_t uart, const char *name);
35 
36 #ifdef __cplusplus
37 }
38 #endif
39 
40 #endif /* TTY_UART_H */
41 
Low-level UART peripheral driver interface definition.
unsigned int uart_t
Define default UART type identifier.
Definition: uart.h:65
void tty_uart_setup(uart_t uart, const char *name)
register /dev/tty device to be used for UART