Disable global interrupts at Watchdog configuration

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

Disable global interrupts at Watchdog configuration

1,192 Views
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

Labels (1)
0 Kudos
2 Replies

827 Views
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.

827 Views
adrianwenger
Contributor III

Hi,

thanks now it works :smileyhappy:

0 Kudos