Disable global interrupts at Watchdog configuration

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

Disable global interrupts at Watchdog configuration

1,320 次查看
adrianwenger
Contributor III

Hi,

i want to configure the watchdog after reset.

There is a example code snippet in the reference Manual.

S32K-RM.png

S32K-RM2.png

I used this in my s32 project, but an error appered: Symbol "DisableInterrupts" could not be resolved???

regards,

Adrian

标签 (1)
0 项奖励
回复
2 回复数

955 次查看
AdrianR
NXP Employee
NXP Employee

Hi Adrian,

Reference manual contains more like a "pseudo" code.

Try these instead:

DISABLE_INTERRUPTS();

ENABLE_INTERRUPTS();

Also,

Check out the WDOG example that comes with S32DS/SDK.

Best regards,

Adrian R.

955 次查看
adrianwenger
Contributor III

Hi,

thanks now it works :smileyhappy:

0 项奖励
回复