ADC trigger interrupt s32K144

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

ADC trigger interrupt s32K144

跳至解决方案
882 次查看
IuliaB
Contributor I

Hello! Im trying to configure ADC trigger interrupt for my board but I dont understand 

S32_NVIC->ICPR[1] = 1 << (39 % 32); /* Register ADC0 interrupt */

S32_NVIC->ISER[1] = 1 << (39 % 32); /* Enable ADC0 interrupt */

S32_NVIC->IP[39] = 0xA0; /* priority is 10 */

Why do we use those number value or what do they represent to set there?

标签 (1)
0 项奖励
回复
1 解答
858 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi IuliaB,

Please refer to the "7.2.3 Determining the bitfield and register location for configuring a particular interrupt" of S32K1xx MCU Family - Reference Manual

Determining the bitfield and register location for configuring a particular interrupt.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
859 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi IuliaB,

Please refer to the "7.2.3 Determining the bitfield and register location for configuring a particular interrupt" of S32K1xx MCU Family - Reference Manual

Determining the bitfield and register location for configuring a particular interrupt.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 项奖励
回复