Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add watchdog pause flag #331

Merged
merged 5 commits into from
Jun 2, 2022
Merged

✨ Add watchdog pause flag #331

merged 5 commits into from
Jun 2, 2022

Conversation

stnolting
Copy link
Owner

This PR adds a PAUSE flag to the watchdog timer's control register:

  • NEORV32_WDT.CTRL, bit 11 (r/w): WDT_CTRL_PAUSE, default = 0

If the flag is set the watchdog will pause operation (stopping the internal timeout counter) when the CPU enters sleep mode via the wfi instruction.

@stnolting stnolting added enhancement New feature or request HW hardware-related labels Jun 2, 2022
@stnolting stnolting self-assigned this Jun 2, 2022
@stnolting stnolting marked this pull request as ready for review June 2, 2022 11:31
@stnolting stnolting merged commit 9846cb2 into main Jun 2, 2022
@stnolting stnolting deleted the add_wdt_pause_flag branch June 2, 2022 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request HW hardware-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant