Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:51

0001 /**
0002  * @file
0003  *
0004  * @ingroup generic_or1k_uart
0005  *
0006  * @brief UART support.
0007  */
0008 
0009 /*
0010  * COPYRIGHT (c) 2014-2015 Hesham ALMatary <heshamelmatary@gmail.com>
0011  *
0012  * The license and distribution terms for this file may be
0013  * found in the file LICENSE in this distribution or at
0014  * http://www.rtems.org/license/LICENSE
0015  */
0016 
0017 /**
0018  * @defgroup generic_or1k_uart UART Support
0019  *
0020  * @ingroup RTEMSBSPsOR1K
0021  *
0022  * @brief Universal Asynchronous Receiver/Transmitter (UART) Support
0023  */
0024 
0025 #ifndef LIBBSP_GENERIC_OR1K_UART_H
0026 #define LIBBSP_GENERIC_OR1K_UART_H
0027 
0028 #include <libchip/serial.h>
0029 
0030 #ifdef __cplusplus
0031 extern "C" {
0032 #endif /* __cplusplus */
0033 
0034 #define OR1K_UART_DEFAULT_BAUD  115200
0035 #define OR1K_BSP_UART_IRQ       2
0036 extern const console_fns generic_or1k_uart_fns;
0037 
0038 #ifdef __cplusplus
0039 }
0040 #endif /* __cplusplus */
0041 
0042 #endif /* LIBBSP_GENERIC_OR1K_UART_H */