ADC trigger interrupt s32K144

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ADC trigger interrupt s32K144

ソリューションへジャンプ
880件の閲覧回数
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 解決策
856件の閲覧回数
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 返信
857件の閲覧回数
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 件の賞賛
返信