Motorola MPC8240 User Manual page 512

Integrated host processor with integrated pci
Table of Contents

Advertisement

Watchpoint Registers
Table 16-7. Watchpoint Control Register Bit Field Definitions (Continued)
Bits
Name
11–8
WP1_CNT[0–3]
7–6
WP_TRIG[0–1]
5–4
WP_MODE[0–1]
3–2
1
WP_CONT
0
WP_TRIG_HOLD
Table 16-8 describes the modes selected by the WP_MODE field of the WP_CONTROL
register.
16-10
Reset
R/W
Value
0b0000
R/W
The watchpoint #1 counter field sets the initial value of the
countdown counter for watchpoint #1. This counter is used in all
watchpoint operation modes.
0000 16
0001 1
0010 2
...
1111 15
0b00
R/W
The watchpoint trigger control field is used to select the driver
modes of the TRIG_OUT signal as follows:
0x TRIG_OUT is disabled; TRIG_OUT is in high-impedance
state.
10 TRIG_OUT is enabled as an active high output.
11 TRIG_OUT is enabled as an active low output.
0b00
R/W
The watchpoint mode field is used to define the operation modes
of the watchpoint facility. The supported functions are described
in Table 16-8.
0b00
R
Reserved
0
R/W
The watchpoint continuous scan bit selects between continuous
scan mode and one-shot scan mode. In continuous mode, the
watchpoint facility continuously scans for trigger matches. Upon
each occurrence of a trigger match, the watchpoint facility issues
an output trigger (if programmed to do so) and begins a new scan
for the next trigger match. The watchpoint facility continues to
generate multiple output triggers until the watchpoint facility is
explicitly disabled by the user by writing WP_RUN =0.
In one-shot scan mode, the watchpoint facility scans for the first
trigger match. Upon the first occurrence of the trigger match, the
watchpoint facility issues an output trigger (if programmed to do
so and automatically disables the watchpoint facility by writing
WP_RUN = 0. Further trigger matches will not generate output
triggers until the watchpoint facility is re-enabled by the setting of
WP_RUN = 1 or the assertion of TRIG_IN.
0 One-shot scan mode
1 Continuous scan mode
0
R/W
Trigger hold enable. When trigger hold mode is enabled, the
watchpoint facility enters a HOLD state upon a trigger match.
Additionally, the TRIG_OUT signal remains asserted while the
watchpoint facility remains in the HOLD state. The watchpoint
facility can be resumed from this HOLD state by pulsing
TRIG_IN. Pulsing the TRIG_IN signal while in the HOLD state
does not toggle the WP_RUN bit.
0 Trigger hold disabled
1 Trigger hold enabled
Description

Advertisement

Table of Contents
loading

Table of Contents