Hallo,
the description of WDOG_GetDefaultConfig (driver version 2.1.1) of SDKs (version 2.7.0) for IMXRT processors specifies that the watchdog is enabled in wait mode but the implementation shows config->workMode.enableWait = false;
This description is also used in the watchdog SDK example project which you can clone with MCUXpresso Config Tools.
Does the description of WDOG_GetDefaultConfig not match the implementation?
Kind regards,
Stefan
解決済! 解決策の投稿を見る。
Hello,
I realized that the above mentioned setting gets directly written to the WDW Bit of WCR register so it is correct what the SDK does.
I think it is just a bad naming because you set the structure member "enableWait" but the register you are changing with this has a "set one to disable" behaviour so better would be "disableWait".
Kind regards,
Stefan
Hello,
I realized that the above mentioned setting gets directly written to the WDW Bit of WCR register so it is correct what the SDK does.
I think it is just a bad naming because you set the structure member "enableWait" but the register you are changing with this has a "set one to disable" behaviour so better would be "disableWait".
Kind regards,
Stefan