Table 3-2. Interrupt vector assignments (continued)Address Vector IRQ1 NVICIPRregisternumber2Source module Source description0x0000_007C 31 15 3 ADC0 Conversion complete0x0000_0080 32 16 4 CMP0 Rising or falling edge of comparator output0x0000_0084 33 17 4 TPM0 Overflow or channel interrupt0x0000_0088 34 18 4 TPM1 Overflow or channel interrupt0x0000_008C 35 19 4 TPM2 Overflow or channel interrupt0x0000_0090 36 20 5 RTC Alarm interrupt0x0000_0094 37 21 5 RTC Seconds interrupt0x0000_0098 38 22 5 PIT Single interrupt vector for all channels0x0000_009C 39 23 5 I2S0 Single interrupt vector for all sources0x0000_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 match0x0000_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 43.2.3.1 Determining the bitfield and register location for configuring aparticular interruptSuppose you need to configure the SPI0 interrupt. The following table is an excerpt of theSPI0 row from Interrupt priority levels.Table 3-3. Interrupt vector assignmentsAddress Vector IRQ1 NVIC IPRregisternumber2Source module Source description0x0000_0068 26 10 2 SPI0 Single interrupt vector for all sources1. 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/201652 Freescale Semiconductor, Inc.