Reset; Break Interrupts; Status Flag Protection In Break Mode - Motorola MC68HC908AB32 Technical Data Manual

Hcmos microcontroller unit
Table of Contents

Advertisement

8.6.2 Reset

8.6.3 Break Interrupts

8.6.4 Status Flag Protection in Break Mode

MC68HC908AB32
Rev. 1.0
MOTOROLA
All reset sources always have equal and highest priority and cannot be
arbitrated.
The break module can stop normal program flow at a software-
programmable break point by asserting its break interrupt output. See
Section 22. Break Module
state by forcing it to the SWI vector location. Refer to the break interrupt
subsection of each module to see how each module is affected by the
break state.
The SIM controls whether status flags contained in other modules can
be cleared during break mode. The user can select whether flags are
protected from being cleared by properly initializing the break clear flag
enable bit (BCFE) in the SIM break flag control register (SBFCR).
Protecting flags in break mode ensures that set flags will not be cleared
while in break mode. This protection allows registers to be freely read
and written during break mode without losing status flag information.
Setting the BCFE bit enables the clearing mechanisms. Once cleared in
break mode, a flag remains cleared even when break mode is exited.
Status flags with a two-step clearing mechanism — for example, a read
of one register followed by the read or write of another — are protected,
even when the first step is accomplished prior to entering break mode.
Upon leaving break mode, execution of the second step will clear the
flag as normal.
System Integration Module (SIM)
System Integration Module (SIM)
(BRK). The SIM puts the CPU into the break
Exception Control
Technical Data
123

Advertisement

Table of Contents
loading

Table of Contents