Disable global interrupts at Watchdog configuration

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

Disable global interrupts at Watchdog configuration

1,301件の閲覧回数
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 返答(返信)

936件の閲覧回数
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.

936件の閲覧回数
adrianwenger
Contributor III

Hi,

thanks now it works :smileyhappy:

0 件の賞賛
返信