-
Notifications
You must be signed in to change notification settings - Fork 139
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
Adding WDT to nRF9160. #283
Conversation
cfg_if! { | ||
if #[cfg(feature = "9160")] | ||
{ | ||
self.wdt.runstatus.read().runstatuswdt().bit_is_set() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the PAC wrong here or is this also called runstatuswdt
in the datasheet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PAC is right I believe. It appears like this in the datasheet: https://infocenter.nordicsemi.com/pdf/nRF9160_PS_v2.0.pdf - p.357
Co-authored-by: Jonas Schievink <[email protected]>
Co-authored-by: Jonas Schievink <[email protected]>
Co-authored-by: Jonas Schievink <[email protected]>
I'm not sure I responded / approved your suggestions in the right fashion. Thanks for the review and sorry for not running fmt. |
Thanks, looks good! |
Small changes to make WDT work on the nRF9160.
Tested on my hardware (Actinius Icarus):