source: rtems/c/src/lib/libbsp/arm/arm_bare_bsp/include/registers.h @ 1a457f5

4.104.114.84.95
Last change on this file since 1a457f5 was 08330bf, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 27, 2000 at 1:04:11 AM

Port of RTEMS to the ARM processor family by Eric Valette
<valette@…> and Emmanuel Raguet <raguet@…>
of Canon CRF - Communication Dept. This port includes a
basic BSP that is sufficient to link hello world.

  • Property mode set to 100644
File size: 911 bytes
Line 
1/*
2 *  BSP registers declaration
3 *
4 * Copyright (c) 2000 Canon Research France SA.
5 * Emmanuel Raguet, mailto:raguet@crf.canon.fr
6 *
7 * The license and distribution terms for this file may be
8 * found in found in the file LICENSE in this distribution or at
9 * http://www.OARcorp.com/rtems/license.html.
10 *
11 */
12
13
14#ifndef  __REGS_H__
15#define __REGS_H__ 
16
17/*
18 * VARIABLE DECLARATION   
19 */
20
21#ifndef __asm__
22extern volatile unsigned long *Regs;        /* Chip registers        */
23#endif
24
25
26
27/*
28 * Here must be "defined" each register, to use with Regs as
29 * LM_Regs[REGISTER1] = value
30 */
31
32#define REGISTER1      1
33#define REGISTER2      2
34
35
36/*
37 * define for UART registers to be able
38 * to compile and link arm_bare_bsp
39 */
40
41#define RSRBR   0
42#define RSTHR   1
43#define RSIER   2
44#define RSIIR   3
45#define RSFCR   4
46#define RSLCR   5
47#define RSLSR   6
48#define RSDLL   7
49#define RSDLH   8
50#define RSCNT   9
51
52#endif /*__REGS_H__*/
53
Note: See TracBrowser for help on using the repository browser.