mc9s08gt16a Freescale Semiconductor, Inc, mc9s08gt16a Datasheet - Page 66

no-image

mc9s08gt16a

Manufacturer Part Number
mc9s08gt16a
Description
Hcs08 Microcontrollers 8-bit Microcontroller Family
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08gt16aCBE
Manufacturer:
SHARP
Quantity:
1 200
Part Number:
mc9s08gt16aCFBE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08gt16aCFBE
Quantity:
480
Part Number:
mc9s08gt16aCFBER
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s08gt16aCFBER
Manufacturer:
FREESCALE
Quantity:
8 000
Part Number:
mc9s08gt16aCFBER
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
mc9s08gt16aMFBE
Manufacturer:
XILINX
Quantity:
1 300
Part Number:
mc9s08gt16aMFBE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Resets, Interrupts, and System Configuration
When an RTI instruction is executed, these values are recovered from the stack in reverse order. As part of
the RTI sequence, the CPU fills the instruction pipeline by reading three bytes of program information,
starting from the PC address just recovered from the stack.
The status flag causing the interrupt must be acknowledged (cleared) before returning from the ISR.
Typically, the flag should be cleared at the beginning of the ISR so that if another interrupt is generated by
this same source, it will be registered so it can be serviced after completion of the current ISR.
5.4.2
External interrupts are managed by the IRQSC status and control register. When the IRQ function is
enabled, synchronous logic monitors the pin for edge-only or edge-and-level events. When the MCU is in
stop mode and system clocks are shut down, a separate asynchronous path is used so the IRQ (if enabled)
can wake the MCU.
5.4.2.1
The IRQ pin enable (IRQPE) control bit in the IRQSC register must be 1 for the IRQ pin to act as the
interrupt request (IRQ) input. When the pin is configured as an IRQ input, the user can choose the polarity
of edges or levels detected (IRQEDG), whether the pin detects edges-only or edges and levels (IRQMOD),
and whether an event causes an interrupt or only sets the IRQF flag (which can be polled by software).
When the IRQ pin is configured to detect rising edges, an optional pulldown resistor is available rather than
a pullup resistor. BIH and BIL instructions may be used to detect the level on the IRQ pin when the pin is
configured to act as the IRQ input.
66
IRQ — External Interrupt Request Pin
Pin Configuration Options
The voltage measured on the pulled up IRQ pin may be as low as V
0.7 V. The internal gates connected to this pin are pulled all the way to V
All other pins with enabled pullup resistors will have an unloaded
measurement of V
STACKING
ORDER
UNSTACKING
5
4
3
2
1
ORDER
1
2
3
4
5
* High byte (H) of index register is not automatically stacked.
7
DD
MC9S08GT16A/GT8A Data Sheet, Rev. 1
INDEX REGISTER (LOW BYTE X)
Figure 5-1. Interrupt Stack Frame
.
CONDITION CODE REGISTER
PROGRAM COUNTER HIGH
PROGRAM COUNTER LOW
ACCUMULATOR
NOTE
TOWARD HIGHER ADDRESSES
TOWARD LOWER ADDRESSES
*
0
SP AFTER
INTERRUPT STACKING
SP BEFORE
THE INTERRUPT
DD
Freescale Semiconductor
DD
.

Related parts for mc9s08gt16a