How to set interrupt priority level

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

How to set interrupt priority level

跳至解决方案
1,535 次查看
jason_zhang
Contributor III

Hi,

 

How to set interrupt priority level for MC9S08PA?

Example for ADC ISR and MTIM0 ISR.

 

Thank you very much!

 

Jason

标签 (1)
0 项奖励
回复
1 解答
1,381 次查看
vicentegomez
NXP TechSupport
NXP TechSupport

Hi you need to set the

IPCE bit   and for the ADC set the interrupt level at IPC_ILRS5 (you need to set the bit 4 and 5 for the adc)

Regarding to MTIM0 can you confirm the vector that you wants to use?

Regards

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,382 次查看
vicentegomez
NXP TechSupport
NXP TechSupport

Hi you need to set the

IPCE bit   and for the ADC set the interrupt level at IPC_ILRS5 (you need to set the bit 4 and 5 for the adc)

Regarding to MTIM0 can you confirm the vector that you wants to use?

Regards

0 项奖励
回复
1,381 次查看
jason_zhang
Contributor III

Thank you very much!

0 项奖励
回复