blob: 502320c77ac1f02332701d5939d1b77783804b79 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/**
* @file
*
* @ingroup raspberrypi_usart
*
* @brief USART support.
*/
/**
* @defgroup raspberrypi_usart USART Support
*
* @ingroup arm_raspberrypi
*
* @brief Universal Synchronous/Asynchronous Receiver/Transmitter (USART) Support
*/
/*
* Copyright (c) 2013 Alan Cudmore.
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE
*/
#ifndef LIBBSP_ARM_RASPBERRYPI_USART_H
#define LIBBSP_ARM_RASPBERRYPI_USART_H
#include <libchip/serial.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define USART0_DEFAULT_BAUD 115000
extern const console_fns bcm2835_usart_fns;
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* LIBBSP_ARM_RASPBERRYPI_USART_H */
|