s32k312 Interrupt priority

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

s32k312 Interrupt priority

852 次查看
fengba_360
Contributor III

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);
0 项奖励
回复
1 回复

829 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @fengba_360,

There are these APIs:

danielmartynek_0-1734598325326.png

 

Regards,

Daniel

0 项奖励
回复