27.6.3.1.4 Function wdt_is_locked()

Determines if the Watchdog timer is currently locked in an enabled state.

bool wdt_is_locked( void )

Determines if the Watchdog timer is currently enabled and locked, so that it cannot be disabled or otherwise reconfigured.

Returns

Current Watchdog lock state.