v2.0.0
Macros | Functions
watchdog.h File Reference
`#include "pico.h"`
`#include "hardware/structs/watchdog.h"`
Include dependency graph for watchdog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros
#define | PARAM_ASSERTIONS_ENABLED_HARDWARE_WATCHDOG 0

## Functions
void | watchdog_reboot (uint32_t pc, uint32_t sp, uint32_t delay_ms)
| Define actions to perform at watchdog timeout. More...
void | watchdog_start_tick (uint cycles)
| Start the watchdog tick. More...
void | watchdog_update (void)
| Reload the watchdog counter with the amount of time set in watchdog_enable.
void | watchdog_enable (uint32_t delay_ms, bool pause_on_debug)
| Enable the watchdog. More...
void | watchdog_disable (void)
| Disable the watchdog.
bool | watchdog_caused_reboot (void)
| Did the watchdog cause the last reboot? More...
bool | watchdog_enable_caused_reboot (void)
| Did watchdog_enable cause the last reboot? More...
uint32_t | watchdog_get_time_remaining_ms (void)
| Returns the number of microseconds before the watchdog will reboot the chip. More...
static uint32_t | watchdog_get_count (void)