Resets, Interrupts, and General System Control
MCF51CN128 Reference Manual, Rev. 6
Freescale Semiconductor
5-5
The IRQ pin, when enabled, defaults to use an internal pull device (IRQPDD = 0), configured as a pull-up
or pull-down depending on the polarity chosen. To use an external pull-up or pull-down, the IRQPDD can
be set to turn off the internal device.
5.4.2.2
Edge and Level Sensitivity
The IRQMOD control bit re-configures the detection logic so it detects edge events and pin levels. In the
edge and level detection mode, the IRQF status flag sets 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)
if the IRQ pin remains at the asserted level.
5.4.3
Interrupt Vectors, Sources, and Local Masks
shows address assignments for reset and interrupt vectors. The vector names shown in this table
are the labels used in the Freescale Semiconductor-provided equate file for the MCF51CN128 series
microcontrollers. The table is sorted by priority of the sources, with higher-priority sources at the top of
the table. Note the highlighted entries which do not follow the address and vector number order of the
surrounding vectors.
Table 5-1. MC51CN128 Exception and Interrupt Vector Table
Vector
Address
Offset
Interrupt Le
vel
Priority
V
ector
Num
b
er
Stacked
Program
Counter
Vector Description
Enable
Source
Vector
Name
0x000
N/A
0
—
Initial supervisor stack
pointer
N/A
N/A
Vreset
0x004
N/A
1
—
Initial program counter
N/A
N/A
0x008–
0x0FC
N/A
2–63
—
Reserved for internal CPU
exceptions (see Table 7-6)
7
7-4
Reserved
0x100
7
mid
64
Next
IRQ_pin
IRQ_SC[IRQIE]
IRQ_SC[IRQF]
Virq
0x104
7
3
65
Next
Low_voltage_detect
PMC_LVDIE
PMC_LVDF
Vlvd
PMC_LVWIE
PMC_LVWF
0x108
7
2
66
Next
MCG_lock
MCG_C3[LOLIE]
MCG_SC[LOLS]
Vlol
7
1
Reserved
6
7
RESERVED FOR
REMAPPED VECTOR #1
Vl6p7
6
6
RESERVED FOR
REMAPPED VECTOR #2
Vl6p6
0x10C
6
5
67
Next
TPM1_ch0
TPM1_C0SC[CH0IE]
TPM1_C0SC[CH0F]
Vtpm1ch0
0x110
6
4
68
Next
TPM1_ch1
TPM1_C1SC[CH1IE]
TPM1_C1SC[CH1F]
Vtpm1ch1
0x114
6
3
69
Next
TPM1_ch2
TPM1_C2SC[CH1IE]
TPM1_C2SC[CH2F]
Vtpm1ch2