mc68hc05bs8 Freescale Semiconductor, Inc, mc68hc05bs8 Datasheet - Page 37

no-image

mc68hc05bs8

Manufacturer Part Number
mc68hc05bs8
Description
Mc68hc05 Family Of Low-cost Single-chip Microcontrollers.
Manufacturer
Freescale Semiconductor, Inc
Datasheet
5.1.4
The MC68HC05BS8 contains a watchdog timer that automatically times out if this timer is not
reset (cleared) within a specific amount of time by a program reset sequence.
Note:
If the watchdog timer is allowed to time-out, an internal reset is generated to reset the MCU.
Because the internal reset signal is used, the MCU comes out of a COP reset in the same
operating mode as it was in when the COP time-out was generated.
The COP reset function is enabled after a reset, and it can be disabled by writing a “0” to bit 6 in
the Option register at address $001D. Once disabled, it cannot be enabled except by a reset
function.
See Section 6.2.3 for more information on the COP watchdog timer.
5.2
The MC68HC05BS8 can be interrupted by different sources – six maskable hardware interrupt
and one non-maskable software interrupt:
If the interrupt mask bit (I-bit) of the CCR is set, all maskable interrupts (internal and external) are
disabled. Clearing the I-bit enables interrupts.
Interrupts cause the processor to save the register contents on the stack and to set the interrupt
mask (I-bit) to prevent additional interrupts. The RTI instruction causes the register contents to be
recovered from the stack and normal processing to resume.
Unlike reset, hardware interrupts do not cause the current instruction execution to be halted, but
are considered pending until the current instruction is complete. The current instruction is the one
already fetched and being operated on. When the current instruction is complete, the processor
checks all pending hardware interrupts. If interrupts are not masked (CCR I-bit clear) the
processor proceeds with interrupt processing; otherwise, the next instruction is fetched and
executed. Table 5-1 shows the relative priority of all the possible interrupt sources.
MC68HC05BS8
Software Interrupt Instruction (SWI)
External signal on the IRQ pin
Sync Signal Processor (SSP)
Programmable Timer (TIMER)
Core Timer (CTIMER)
M-Bus Interface (MBUS)
Keyboard (KBI)
COP time-out is prevented by periodically writing a “0” to bit 0 of address $3FF0.
Computer Operating Properly (COP) Reset
INTERRUPTS
RESETS AND INTERRUPTS
TPG
5

Related parts for mc68hc05bs8