MC9S08JM16CGTE FREESCALE [Freescale Semiconductor, Inc], MC9S08JM16CGTE Datasheet - Page 65

no-image

MC9S08JM16CGTE

Manufacturer Part Number
MC9S08JM16CGTE
Description
Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
The IRQ pin, when enabled, defaults to use an internal pull device (IRQPDD = 0), the device is a pullup
or pulldown depending on the polarity chosen. If the user desires to use an external pullup or pulldown,
the IRQPDD can be written to a 1 to turn off the internal device.
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.
5.5.2.2
The IRQMOD control bit re-configure the detection logic to detect edge events and pin levels. In this edge
detection mode, the IRQF status flag becomes set when an edge is detected (when the IRQ pin changes
from the deasserted to the asserted level), but the flag is continuously set (and cannot be cleared) as long
as the IRQ pin remains at the asserted level.
5.5.3
Table 5-1
bottom of the table. The high-order byte of the address for the interrupt service routine is located at the
first address in the vector address column, and the low-order byte of the address for the interrupt service
routine is located at the next higher address.
When an interrupt condition occurs, an associated flag bit becomes set. If the associated local interrupt
enable is 1, an interrupt request is sent to the CPU. Within the CPU, if the global interrupt mask (I bit in
the CCR) is 0, the CPU will finish the current instruction, stack the PCL, PCH, X, A, and CCR CPU
registers, set the I bit, and then fetch the interrupt vector for the highest priority pending interrupt.
Processing then continues in the interrupt service routine.
Freescale Semiconductor
Number
31 to 30
Vector
29
28
27
26
25
provides a summary of all interrupt sources. Higher-priority sources are located toward the
Interrupt Vectors, Sources, and Local Masks
Edge and Level Sensitivity
0xFFCC:FFCD
0xFFCA:FFCB
0xFFC0:FFC1
0xFFC2:FFC3
0xFFC4:FFC5
0xFFC6:FFC7
0xFFC8:FFC9
This pin does not contain a clamp diode to V
above V
be as low as V
all the way to V
(High/Low)
Address
Table 5-1. Vector Summary (from Lowest to Highest Priority)
DD
. The voltage measured on the internally pulled up IRQ pin may
DD
Vector Name
Vkeyboard
DD
Vacmp
– 0.7 V. The internal gates connected to this pin are pulled
Vadc
Vrtc
Viic
.
MC9S08JM16 Series Data Sheet, Rev. 2
Module
System
control
ACMP
Unused vector space (available for user program)
ADC
KBI
IIC
NOTE
Source
COCO
RTIF
IICIF
ACF
KBF
DD
Chapter 5 Resets, Interrupts, and System Configuration
and must not be driven
Enable
AIEN
RTIE
IICIE
ACIE
KBIE
RTC real-time interrupt
Keyboard pins
Description
ACMP
ADC
IIC
65

Related parts for MC9S08JM16CGTE