source: rtems/cpukit/score/cpu/bfin/rtems/bfin/bfin.h @ 1cb0a9b4

4.104.114.84.95
Last change on this file since 1cb0a9b4 was e996604, checked in by Joel Sherrill <joel.sherrill@…>, on 10/24/06 at 20:24:29

2006-10-24 Joel Sherrill <joel@…>

  • rtems/bfin/bfin.h: Eliminate hi, lo, HI, LO, and MK_BMSK.
  • Property mode set to 100644
File size: 2.5 KB
Line 
1/*  bfin.h
2 *
3 *  This file defines Macros for MMR register common to all Blackfin
4 *  Processors.
5 *
6 *  COPYRIGHT (c) 2006 by Atos Automacao Industrial Ltda.
7 *             modified by Alain Schaefer <alain.schaefer@easc.ch>
8 *                     and Antonio Giovanini <antonio@atos.com.br>
9 *
10 *  The license and distribution terms for this file may be
11 *  found in the file LICENSE in this distribution or at
12 *  http://www.rtems.com/license/LICENSE.
13 *
14 *  $Id$
15 *
16 */
17
18#ifndef _RTEMS_BFIN_BFIN_H
19#define _RTEMS_BFIN_BFIN_H
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25/* Scratchpad SRAM */
26 
27#define SCRATCH                0xFFB00000
28#define SCRATCH_SIZE           0x1000
29#define SCRATCH_TOP            0xFFB00ffc
30
31
32/* System Interrupt Controller Chapter 4*/
33#define SIC_RVECT              0xFFC00108
34#define SIC_IMASK              0xFFC0010C
35#define SIC_IAR0               0xFFC00110
36#define SIC_IAR1               0xFFC00114
37#define SIC_IAR2               0xFFC00118
38#define SIC_ISR                0xFFC00120
39#define SIC_IWR                0xFFC00124
40
41/* Event Vector Table        Chapter 4 */
42
43#define EVT0                   0xFFE02000 
44#define EVT1                   0xFFE02004 
45#define EVT2                   0xFFE02008 
46#define EVT3                   0xFFE0200C 
47#define EVT4                   0xFFE02010 
48#define EVT5                   0xFFE02014 
49#define EVT6                   0xFFE02018 
50#define EVT7                   0xFFE0201C 
51#define EVT8                   0xFFE02020 
52#define EVT9                   0xFFE02024 
53#define EVT10                  0xFFE02028 
54#define EVT11                  0xFFE0202C 
55#define EVT12                  0xFFE02030 
56#define EVT13                  0xFFE02034 
57#define EVT14                  0xFFE02038 
58#define EVT15                  0xFFE0203C 
59#define IMASK                  0xFFE02104 
60#define IPEND                  0xFFE02108 
61#define ILAT                   0xFFE0210C 
62#define IPRIO                  0xFFE02110 
63 
64/* Core Timer               Chapter 15 */
65#define TCNTL                  0xFFE03000
66#define TPERIOD                0xFFE03004
67#define TSCALE                 0xFFE03008
68#define TCOUNT                 0xFFE0300C
69
70/* Masks for Timer Control */
71#define TMPWR                  0x00000001 
72#define TMREN                  0x00000002 
73#define TAUTORLD               0x00000004 
74#define TINT                   0x00000008
75
76/* Event Bit Positions */
77#define EVT_IVTMR_P            0x00000006
78
79#define EVT_IVTMR              (1 << EVT_IVTMR_P)
80
81#ifdef __cplusplus
82}
83#endif
84
85#endif /* _RTEMS_SCORE_BFIN_H */
Note: See TracBrowser for help on using the repository browser.