Skip to content

Commit 945a9b3

Browse files
author
Filip Jagodzinski
committed
K64F: Fix the watchdog mode settings
Enable the Watchdog Timer for the low-power stop modes of operation, including the VLPS used in deepsleep. Enable the Watchdog Timer for the Debug mode.
1 parent 8640da4 commit 945a9b3

File tree

1 file changed

+2
-2
lines changed
  • targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F

1 file changed

+2
-2
lines changed

targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/watchdog_api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ watchdog_status_t hal_watchdog_init(const watchdog_config_t *config)
7575
cfg.enableInterrupt = false;
7676
cfg.enableWindowMode = false;
7777
cfg.workMode.enableWait = true;
78-
cfg.workMode.enableStop = false;
79-
cfg.workMode.enableDebug = false;
78+
cfg.workMode.enableStop = true;
79+
cfg.workMode.enableDebug = true;
8080

8181
const uint32_t prescaler = calculate_prescaler_value(config->timeout_ms);
8282

0 commit comments

Comments
 (0)