datasheetbank_Logo
búsqueda de Hoja de datos y gratuito Fichas de descarga

68HC05BD2 Ver la hoja de datos (PDF) - Freescale Semiconductor

Número de pieza
componentes Descripción
fabricante
68HC05BD2
Freescale
Freescale Semiconductor 
68HC05BD2 Datasheet PDF : 85 Pages
First Prev 31 32 33 34 35 36 37 38 39 40 Next Last
MC68HC05BD7 RevF. 2r.e0escale SemicondGuEcNtoERr,AILnRcE.LEASE SPECIFICATION
SECTION 4
INTERRUPTS
4.1 CPU Interrupt Processing
Interrupts cause the processor to save register contents on the stack and to set the interrupt
mask (I-bit) to prevent additional interrupts. Unlike RESET, hardware interrupts do not
cause the current instruction execution to be halted, but are considered pending until the
current instruction is complete.
If interrupts are not masked (I-bit in the CCR is cleared) and the corresponding interrupt
enable bit is set the processor will proceed with interrupt processing. Otherwise, the next
instruction is fetched and executed. If an interrupt occurs the processor completes the
current instruction, then stacks the current CPU register states, sets the I-bit to inhibit
Y further interrupts, and finally checks the pending hardware interrupts. If more than one
interrupt is pending following the stacking operation, the interrupt with the highest vector
R location shown in Table 4-1 will be serviced first. The SWI is executed the same as any
other instruction, regardless of the I-bit state.
A When an interrupt is to be processed the CPU fetches the address of the appropriate
interrupt software service routine from the vector table at locations $3FF0 thru $3FFF as
IN defined in Table 4-1.
Table 4-1: Vector Address for Interrupts and Reset
IM Register Flag
N/A
L N/A
N/A
SPCSR
E DMCR
DSR
PR MFTCSR
N/A
N/A
N/A
VSIF
TXIF
RXIF
ALIF
NAKIF
SCLIF
TOF
Interrupts
Reset
Software
External Interrupt
VSINT
DDC12AB interrupt
Timer Overflow
CPU Int Vector Adds.
RESET
SWI
IRQ
SP
DDC12AB
$3FFE-$3FFF
$3FFC-$3FFD
$3FFA-$3FFB
$3FF8-$3FF9
$3FF6-$3FF7
MFT
$3FF4-$3FF5
RTIF
Real Time Interrupt
N/A
N/A
N/A
N/A
$3FF2-$3FF3
N/A
N/A
N/A
N/A
$3FF0-$3FF1
An RTI instruction is used to signify when the interrupt software service routine is
completed. The RTI instruction causes the register contents to be recovered from the stack
and normal processing to resume at the next instruction that was to be executed when the
interrupt took place. Figure 4-1 shows the sequence of events that occur during interrupt
processing.
SECTION 4: INTERRUPTS
For More Information On This Product,
Go to: www.freescale.com
Page 21

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]