tty_uart.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2015 Takuo Yonezawa <Yonezawa-T2@mail.dnp.co.jp>
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
19 #include "periph/uart.h"
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
31 void tty_uart_setup(uart_t uart, const char *name);
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
void tty_uart_setup(uart_t uart, const char *name)
register /dev/tty device to be used for UART
uint_fast8_t uart_t
Define default UART type identifier.
Definition: uart.h:84
Low-level UART peripheral driver interface definition.