Home
last modified time | relevance | path

Searched refs:watchdog_hw (Results 1 – 4 of 4) sorted by relevance

/hal_rpi_pico-latest/src/rp2_common/hardware_watchdog/
Dwatchdog.c27 watchdog_hw->load = load_value; in watchdog_update()
32 return watchdog_hw->ctrl & WATCHDOG_CTRL_TIME_BITS; in watchdog_get_time_remaining_ms()
45 hw_clear_bits(&watchdog_hw->ctrl, WATCHDOG_CTRL_ENABLE_BITS); in _watchdog_enable()
55 hw_set_bits(&watchdog_hw->ctrl, dbg_bits); in _watchdog_enable()
57 hw_clear_bits(&watchdog_hw->ctrl, dbg_bits); in _watchdog_enable()
61 hw_set_bits(&watchdog_hw->ctrl, WATCHDOG_CTRL_TRIGGER_BITS); in _watchdog_enable()
72 hw_set_bits(&watchdog_hw->ctrl, WATCHDOG_CTRL_ENABLE_BITS); in _watchdog_enable()
82 watchdog_hw->scratch[4] = WATCHDOG_NON_REBOOT_MAGIC; in watchdog_enable()
87 hw_clear_bits(&watchdog_hw->ctrl, WATCHDOG_CTRL_ENABLE_BITS); in watchdog_disable()
94 hw_clear_bits(&watchdog_hw->ctrl, WATCHDOG_CTRL_ENABLE_BITS); in watchdog_reboot()
[all …]
/hal_rpi_pico-latest/src/rp2_common/hardware_ticks/
Dticks.c16 watchdog_hw->tick = cycles | WATCHDOG_TICK_ENABLE_BITS; in tick_start()
30 hw_clear_bits(&watchdog_hw->tick, WATCHDOG_TICK_ENABLE_BITS); in tick_stop()
40 return watchdog_hw->tick & WATCHDOG_TICK_ENABLE_BITS; in tick_is_running()
/hal_rpi_pico-latest/src/rp2350/hardware_structs/include/hardware/structs/
Dwatchdog.h55 #define watchdog_hw ((watchdog_hw_t *)WATCHDOG_BASE) macro
/hal_rpi_pico-latest/src/rp2040/hardware_structs/include/hardware/structs/
Dwatchdog.h63 #define watchdog_hw ((watchdog_hw_t *)WATCHDOG_BASE) macro