Chapter 6. System Integration Module (SIM)
6-5
Programming Model
The following example shows how to set the MBAR to location 0x1000_0000 using the D0
register. Setting MBAR[V] validates the MBAR location. This example assumes all
accesses are valid:
move.1 #0x10000001,DO
movec DO,MBAR
6.2.3 System Configuration Register (SCR)
The system configuration register (SCR), Figure 6-3, provides information and control for
a variety of system features.
Table 6-3 describes SCR fields.
Table 6-2. MBAR Field Descriptions
Bits
Field
Description
31–16
BA
Base address. Defines the base address for a 64-Kbyte address range
.
15–5
—
Reserved, should be cleared.
4
SC
Setting masks supervisor code space in MBAR address range
3
SD
Setting masks supervisor data space in MBAR address range
2
UC
Setting masks user code space in MBAR address range
1
UD
Setting masks user data space in MBAR address range
0
V
Valid. Determines whether MBAR settings are valid.
0 MBAR contents are invalid.
1 MBAR contents are valid.
15
14
13
12
11
9
8
7
6
5
4
3
2
0
Field 1
0
RSTSRC
—
Priority
AR
SoftRST
—
BusLock
HWR
Reset 1
0
0000_1000_0111
R/W
R/W; except for RSTSRC[1:0], which are read only
Address
MBAR + 0x004
Figure 6-3. System Configuration Register (SCR)
Table 6-3. SCR Field Descriptions
Bits
Field
Description
15-14
—
Reserved. Bit 15 always reads as a 1, bit 14 as a 0. Writing to these bits has no effect.
13–12
RSTSRC Reset source. Indicates the source of the last device reset.
00 Reserved
01 RSTI asserted, DRESETEN not asserted
10 Software watchdog
11 RSTI and DRESETEN asserted
11–9
—
Reserved, should be cleared.
Summary of Contents for DigitalDNA ColdFire MCF5272
Page 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Page 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Page 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Page 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Page 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Page 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Page 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Page 338: ...13 44 MCF5272 User s Manual Application Examples ...
Page 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Page 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Page 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Page 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...