blob: 1aded4231d46b3ed81a3b223b282b652dba7d8ca (
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
|
/*
* This file contains definitions for LatticeMico32 UART
*
* 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.
*
* $Id$
*
* COPYRIGHT (c) Yann Sionneau <yann.sionneau@telecom-sudparis.eu> (GSoC 2010)
* Telecom SudParis
*/
#ifndef _BSPUART_H
#define _BSPUART_H
void BSP_uart_init(int baud);
#define MM_UART_RXTX (0xe0000000)
#define MM_UART_DIV (0xe0000004)
#define MM_IRQ_UARTTX (0x00000010) /* 4 */
#define MM_IRQ_UARTRX (0x00000008) /* 3 */
#endif /* _BSPUART_H */
|