source: rtems/cpukit/score/cpu/bfin/rtems/bfin/bfin.h @ c499856

4.115
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

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