5
Last change
on this file since 362cf319 was
362cf319,
checked in by G S Niteesh <gsnb.gn@…>, on 01/04/20 at 19:50:46
|
bsp/raspberrypi: Updated the console API.
Replaces the legacy termios API with new termios API (#3034)
Replaces the custom PL011 serial driver with RTEMS arm-pl011.
Update #3034
|
-
Property mode set to
100644
|
File size:
812 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup raspberrypi_usart |
---|
5 | * |
---|
6 | * @brief USART support. |
---|
7 | */ |
---|
8 | |
---|
9 | |
---|
10 | /** |
---|
11 | * @defgroup raspberrypi_usart USART Support |
---|
12 | * |
---|
13 | * @ingroup RTEMSBSPsARMRaspberryPi |
---|
14 | * |
---|
15 | * @brief Universal Synchronous/Asynchronous Receiver/Transmitter (USART) Support |
---|
16 | */ |
---|
17 | |
---|
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 BCM2835_PL011_BASE (RPI_PERIPHERAL_BASE + 0x201000) |
---|
37 | |
---|
38 | #ifdef __cplusplus |
---|
39 | } |
---|
40 | #endif /* __cplusplus */ |
---|
41 | |
---|
42 | #endif /* LIBBSP_ARM_RASPBERRYPI_USART_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.