Hello, I am currently enabling a peripheral interrupt using the following method. I would like to ask how to set the interrupt priority for this peripheral in this particular way.
Is there a corresponding interface function?
The SDK I am using is S32K3_RTD_3_0_0_D2303_ASR_REL_4_7_REV_0000_20230331.
can:
IntCtrl_Ip_EnableIrq(FlexCAN1_1_IRQn);
IntCtrl_Ip_InstallHandler(FlexCAN1_1_IRQn, CAN1_ORED_0_31_MB_IRQHandler, NULL_PTR);
pit:
IntCtrl_Ip_EnableIrq(FlexCAN1_2_IRQn);
IntCtrl_Ip_InstallHandler(FlexCAN1_2_IRQn, CAN1_ORED_32_63_MB_IRQHandler, NULL_PTR);
IntCtrl_Ip_InstallHandler(PIT0_IRQn, PIT_0_ISR, NULL_PTR);
IntCtrl_Ip_EnableIrq(PIT0_IRQn);