How to set interrupt priority level

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

How to set interrupt priority level

Jump to solution
1,530 Views
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

Labels (1)
0 Kudos
Reply
1 Solution
1,376 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
1,377 Views
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 Kudos
Reply
1,376 Views
jason_zhang
Contributor III

Thank you very much!

0 Kudos
Reply