CCU8 interrupts

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi,

What is the IRQ line for SR3 in CCU8?

I have found these settings in XMC1300.h


CCU40_0_IRQn = 21, /*!< CCU40 SR0 Interrupt */
CCU40_1_IRQn = 22, /*!< CCU40 SR1 Interrupt */
CCU40_2_IRQn = 23, /*!< CCU40 SR2 Interrupt */
CCU40_3_IRQn = 24, /*!< CCU40 SR3 Interrupt */

CCU80_0_IRQn = 25, /*!< CCU80 SR0 Interrupt */
CCU80_1_IRQn = 26, /*!< CCU80 SR1 Interrupt */



Why no CCU80_3_IRQn? The XMC1300 reference manual says, it has SR0-SR3 service lines.

So how to change in my code (I have to port it to CCU8)


NVIC_SetPriority(CCU40_3_IRQn, 3);
NVIC_EnableIRQ(CCU40_3_IRQn);
0 Likes
1 Reply
User7282
Level 4
Level 4
Only the SR0 and SR1 are connected to NVIC.

You can check this in the reference manual, in the Interconnects section of the CCU8:

1949.attach
1950.attach
0 Likes