IRQ Handler for MPC5774 with S32_SDK_S32PA_RTM_3.0.0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IRQ Handler for MPC5774 with S32_SDK_S32PA_RTM_3.0.0

754 Views
kshitij_dadheka
Contributor II

Hello NXP community,

I have connected an external interrupt signal to PortX PinY on the MPC5744P. 

I have enabled the interrupts by calling these functions.

pastedImage_3.png

I know that SIUL_EIRQ_24_31_IRQn is of type IRQn_Type. What are the names of the irq handler functions for SIUL_EIRQ which serve the interrupts of this type which might look something like this:

pastedImage_2.png

Would be good to have some documentation source for the same. 

Thanks in advance,

KD

Labels (1)
1 Reply

647 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

you can install new ISR function and enable interrupt using below code

/* Install buttons ISR */
INT_SYS_InstallHandler(SIUL_EIRQ_24_31_IRQn, &buttonISR, NULL);

/* Enable buttons interrupt */
INT_SYS_EnableIRQ(SIUL_EIRQ_24_31_IRQn);

Anyway, vector table is defined in the startup_MPC5744P.s file, so you can refer to SDK's preinstalled IRQ handler function names.

BR, Petr