RTEMS  5.1
usart.h
Go to the documentation of this file.
1 
18 /*
19  * Copyright (c) 2013 Alan Cudmore.
20  *
21  * The license and distribution terms for this file may be
22  * found in the file LICENSE in this distribution or at
23  * http://www.rtems.org/license/LICENSE
24  */
25 
26 #ifndef LIBBSP_ARM_RASPBERRYPI_USART_H
27 #define LIBBSP_ARM_RASPBERRYPI_USART_H
28 
29 #include <libchip/serial.h>
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif /* __cplusplus */
34 
35 #define PL011_DEFAULT_BAUD 115000
36 #define MINI_UART_DEFAULT_BAUD 115200
37 #define BCM2835_PL011_BASE (RPI_PERIPHERAL_BASE + 0x201000)
38 
39 #ifdef __cplusplus
40 }
41 #endif /* __cplusplus */
42 
43 #endif /* LIBBSP_ARM_RASPBERRYPI_USART_H */
The generic libchip serial driver interface.