System Reset Interrupt Enable Register

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

System Reset Interrupt Enable Register

2,375件の閲覧回数
enricoantonioli
Contributor III

Anybody tell me how to enable the RCM interrupt for Watchdog and Software cause on S32K144?

I have write this code but the RCM interrupt doesn't executed?

RCM->SRIE = RCM_SRIE_DELAY(0b11)|RCM_SRIE_WDOG(0b1)|RCM_SRIE_SW(0b1);

NVIC_ClearPendingIRQ(RCM_IRQn);
NVIC_EnableIRQ(RCM_IRQn);
NVIC_SetPriority(RCM_IRQn, 0);

Where can I find any source code examples?

Best regards,

E.

0 件の賞賛
返信
1 返信

2,247件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Enrico,

You need to set RCM_SRIE[GIE] = 1 as well.

Regards,

Daniel

0 件の賞賛
返信