micropython/ports/nrf/modules/machine
Daniel Thompson 26b0eec8af nrf: machine: Add mechanism to starve the watchdog
A soft reset doesn't reconfigure the watchdog which means if previous
software on the device has set a bad timeout then we are stuck without
until the battery runs flat or a watchdog reset takes place. Add a
mechanism to stop feeding the dog so that we can wait for it to trigger.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-11 20:40:00 +00:00
..
adc.c nrf: Update to work with nrfx v2.0.0, to match TinyUSB. 2020-05-15 15:06:02 +10:00
adc.h nrf/adc: Allow for external use of new and value read function. 2018-07-18 17:12:26 +10:00
i2c.c nrf: Update to work with nrfx v2.0.0, to match TinyUSB. 2020-05-15 15:06:02 +10:00
i2c.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
modmachine.c nrf: machine: Add mechanism to starve the watchdog 2020-11-11 20:40:00 +00:00
modmachine.h nrf/modmachine: Rename machine.sleep to machine.lightsleep. 2019-01-30 14:15:38 +11:00
pin.c nrf: Update to work with nrfx v2.0.0, to match TinyUSB. 2020-05-15 15:06:02 +10:00
pin.h nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
pwm.c nrf: Update to work with nrfx v2.0.0, to match TinyUSB. 2020-05-15 15:06:02 +10:00
pwm.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
rtcounter.c nrf: Feed the watchdog from the RTC interrupt 2020-11-11 20:40:00 +00:00
rtcounter.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
spi.c all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
spi.h nrf/spi: Allow for external use of new and transfer function. 2018-07-18 17:12:26 +10:00
temp.c nrf: Update to work with nrfx v2.0.0, to match TinyUSB. 2020-05-15 15:06:02 +10:00
temp.h nrf: Add new port to Nordic nRF5x MCUs. 2018-07-18 17:12:25 +10:00
timer.c all: Use MP_ERROR_TEXT for all error messages. 2020-04-05 15:02:06 +10:00
timer.h nrf: Replace custom-HAL with nrfx-HAL 2018-07-18 17:12:26 +10:00
uart.c nrf: Update to work with nrfx v2.0.0, to match TinyUSB. 2020-05-15 15:06:02 +10:00
uart.h nrf: Move pyb module to boards module 2018-07-18 17:12:26 +10:00