blob: abbf53626c9c5ab2c37881aa29d4c6cab8786076 (
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 BCM2835_PL011_BASE (RPI_PERIPHERAL_BASE + 0x201000)
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* LIBBSP_ARM_RASPBERRYPI_USART_H */
|