System Integration Block (SIB)
3-52
MC68302 USER’S MANUAL
MOTOROLA
this happens and that other pending interrupts at the same orig-
inal priority level also execute with BCLR continuously asserted,
the following technique may be used. Using a parallel I/O line
connected to the IRQ1 line, the original priority level interrupt
toggles this I/O line just before it executes the RTE instruction,
causing a request for a level 1 interrupt. Since this is the lowest
interrupt level, this routine will not be executed until all other
pending interrupt routines have executed. Then in the level 1 in-
terrupt routine, the IPA bit in the SCR is cleared.
HWT—Hardware Watchdog Timeout
This bit is set when the hardware watchdog (see 3.8.6 Hardware Watchdog) reaches the
end of its time interval; BERR is generated following the watchdog timeout, even if this bit
is already set.
WPV—Write Protect Violation
This bit is set when a bus master attempts to write to a location that has RW set to zero
(read only) in its associated base register (BR3–BR0). Provided WPVE (bit 20) is set,
BERR will be asserted on the bus cycle that sets this bit. If WPV and WPVE are both set
when a write protect violation occurs, BERR will still be generated.
ADC—Address Decode Conflict
This bit is set when a conflict has occurred in the chip-select logic because two or more
chip-select lines attempt assertion in the same bus cycle. This conflict may be caused by
a programming error in which the user-allocated memory areas for each chip select over-
lap each other. Provided ADCE (bit 17) is set, the occurrence of ADC will cause BERR to
will still be generated. The chip-select logic will protect the IMP from issuing two simulta-
neous chip selects by employing a priority system.
NOTE
Regardless of the state of the chip-select programming, this bit
will not be set and BERR will not be asserted for an address de-
code conflict occurring during access to a system configuration
register. This is provided to guarantee access to the system con-
figuration registers (BAR and SCR) during initialization.
3.8.3 System Control Bits
The system control logic uses six control bits in the SCR.
WPVE—Write Protect Violation Enable
0 = BERR is not asserted when a write protect violation occurs.
1 = BERR is asserted when a write protect violation occurs.
After system reset, this bit defaults to zero.