Table 5-1 System Control Register Description; Programming Model - Motorola MC68VZ328 User Manual

Motorola mc68vz328 integrated processor user's manual
Table of Contents

Advertisement

Programming Model

5.2
Programming Model
The following sections provide detailed programming information about the system control register and
the other registers associated with its operation.
5.2.1
System Control Register
The 8-bit read/write system control register (SCR) resides at the address 0xFFFFF000 or 0xXXFFF000
(where XX is "don't care") after reset. The SCR and all other internal registers cannot be accessed in the
68000's user mode if the SO bit is set to 1. The bit assignments for the register are shown in the following
register display. The settings for the bits in the register are listed in Table 5-1.
SCR
BIT 7
BETO
TYPE
rw
0
RESET
Name
BETO
Bus Error Time Out—This status bit indicates
Bit 7
whether or not a bus-error-timer time out has
occurred. When a bus cycle is not terminated by
the DTACK signal after 128 clock cycles have
elapsed, the BETO bit is set. However, the
BETEN bit must be set for a bus error time out to
occur. This bit is cleared by writing a 1 (writing a
0 has no effect).
WPV
Write-Protect Violation—This status bit indi-
Bit 6
cates that a write-protect violation has occurred.
If a write-protect violation occurs and the BETEN
bit is not set, the current bus cycle will not termi-
nate. The BETEN bit must be set for a bus error
exception to occur during a write-protect viola-
tion. This bit is cleared by writing a 1 (writing a 0
has no effect).
PRV
Privilege Violation—This status bit indicates
Bit 5
that if a privilege violation occurs and the BETEN
bit is not set, the cycle will not terminate. The
BETEN bit must be set for a bus error exception
to occur during a privilege violation. This bit is
cleared by writing a 1 (writing a 0 has no effect).
BETEN
Bus Error Time-Out Enable—This control bit
Bit 4
enables the bus error timer.
SO
Supervisor Only—This control bit limits on-chip
Bit 3
registers to supervisor accesses only.
5-2
System Control Register
6
5
WPV
PRV
rw
rw
0
0
Table 5-1. System Control Register Description
Description
MC68VZ328 User's Manual
4
3
BETEN
SO
DMAP
rw
rw
rw
1
1
0x1C
0 = A bus-error-timer time out did not occur.
1 = A bus-error-timer time out has occurred
because an undecoded address space has
been accessed or because a write-protect or
privilege violation has occurred.
0 = A write-protect violation did not occur.
1 = A write-protect violation has occurred.
0 = A privilege violation did not occur.
1 = A privilege violation has occurred.
0 = Disable the bus error timer.
1 = Enable the bus error timer.
0 = User and supervisor mode.
1 = Supervisor-only mode.
0x(FF)FFF000
2
1
BIT 0
WDTH8
rw
1
0
0
Setting

Advertisement

Table of Contents
loading

Table of Contents