blob: 6af1844b3ca7fe3b37ae55882c86d1bd278b673d (
plain) (
tree)
|
|
/**
* @file
*
* @ingroup raspberrypi_usart
*
* @brief USART support.
*/
/**
* @defgroup raspberrypi_usart USART Support
*
* @ingroup RTEMSBSPsARMRaspberryPi
*
* @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.org/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 PL011_DEFAULT_BAUD 115000
#define MINI_UART_DEFAULT_BAUD 115200
#define BCM2835_PL011_BASE (RPI_PERIPHERAL_BASE + 0x201000)
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* LIBBSP_ARM_RASPBERRYPI_USART_H */
|