![NXP Semiconductors MKL27Z128VFM4 Reference Manual Download Page 52](http://html1.mh-extra.com/html/nxp-semiconductors/mkl27z128vfm4/mkl27z128vfm4_reference-manual_1721847052.webp)
Table 3-2. Interrupt vector assignments (continued)
Address
Vector
NVIC
IPR
register
number
Source module
Source description
0x0000_007C
31
15
3
ADC0
Conversion complete
0x0000_0080
32
16
4
CMP0
Rising or falling edge of comparator output
0x0000_0084
33
17
4
TPM0
Overflow or channel interrupt
0x0000_0088
34
18
4
TPM1
Overflow or channel interrupt
0x0000_008C
35
19
4
TPM2
Overflow or channel interrupt
0x0000_0090
36
20
5
RTC
Alarm interrupt
0x0000_0094
37
21
5
RTC
Seconds interrupt
0x0000_0098
38
22
5
PIT
Single interrupt vector for all channels
0x0000_009C
39
23
5
I
2
S0
Single interrupt vector for all sources
0x0000_00A0
40
24
6
USB
—
0x0000_00A4
41
25
6
DAC0
—
0x0000_00A8
42
26
6
—
—
0x0000_00AC
43
27
6
—
—
0x0000_00B0
44
28
7
LPTMR0
LP Timer compare match
0x0000_00B4
45
29
7
—
—
0x0000_00B8
46
30
7
Port control module
Pin detect (Port A)
0x0000_00BC
47
31
7
Port control module
Pin detect (Single interrupt vector for Port C,
Port D)
1. Indicates the NVIC's interrupt source number.
2. Indicates the NVIC's IPR register number used for this IRQ. The equation to calculate this value is: IRQ div 4
3.2.3.1 Determining the bitfield and register location for configuring a
particular interrupt
Suppose you need to configure the SPI0 interrupt. The following table is an excerpt of the
SPI0 row from
.
Table 3-3. Interrupt vector assignments
Address
Vector
NVIC IPR
register
Source module
Source description
0x0000_0068
26
10
2
SPI0
Single interrupt vector for all sources
1. Indicates the NVIC's interrupt source number.
2. Indicates the NVIC's IPR register number used for this IRQ. The equation to calculate this value is: IRQ div 4.
• The NVIC registers you would use to configure the interrupt are:
Nested vectored interrupt controller (NVIC)
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
52
Freescale Semiconductor, Inc.