RTEMS  5.0.0
uart.h
Go to the documentation of this file.
1 
9 /*
10  * COPYRIGHT (c) 2014-2015 Hesham ALMatary <heshamelmatary@gmail.com>
11  *
12  * The license and distribution terms for this file may be
13  * found in the file LICENSE in this distribution or at
14  * http://www.rtems.org/license/LICENSE
15  */
16 
25 #ifndef LIBBSP_GENERIC_OR1K_UART_H
26 #define LIBBSP_GENERIC_OR1K_UART_H
27 
28 #include <libchip/serial.h>
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif /* __cplusplus */
33 
34 #define OR1K_UART_DEFAULT_BAUD 115200
35 #define OR1K_BSP_UART_IRQ 2
36 extern const console_fns generic_or1k_uart_fns;
37 
38 #ifdef __cplusplus
39 }
40 #endif /* __cplusplus */
41 
42 #endif /* LIBBSP_GENERIC_OR1K_UART_H */
The generic libchip serial driver interface.
Definition: serial.h:76