Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adafruit/Adafruit_SleepyDog
/ functions
Functions
121 in github.com/adafruit/Adafruit_SleepyDog
⨍
Functions
121
◇
Types & classes
16
↓ 14 callers
Function
rosc_write
utility/WatchdogRP2350/hardware_rosc/include/hardware/rosc.h:87
↓ 4 callers
Function
sleep_run_from_xosc
! \brief Set the dormant clock source to be the crystal oscillator * \ingroup hardware_sleep */
utility/WatchdogRP2350/pico_sleep/include/pico/sleep.h:58
↓ 3 callers
Function
powman_clear_bits
! \brief hw_clear_bits helper function * \ingroup hardware_powman * * Powman needs a password for writes, to prevent accidentally writing to it.
utility/hardware/powman.h:128
↓ 3 callers
Function
processor_deep_sleep
utility/sleep.c:140
↓ 3 callers
Function
processor_deep_sleep
utility/WatchdogRP2350/pico_sleep/sleep.c:139
↓ 3 callers
Function
sleep_goto_dormant_until_pin
utility/WatchdogRP2350/pico_sleep/sleep.c:255
↓ 3 callers
Function
sleep_run_from_dormant_source
In order to go into dormant mode we need to be running from a stoppable clock source: either the xosc or rosc with no PLLs running. This means we disa
utility/WatchdogRP2350/pico_sleep/sleep.c:65
↓ 2 callers
Function
_go_dormant
utility/sleep.c:217
↓ 2 callers
Function
_go_dormant
utility/WatchdogRP2350/pico_sleep/sleep.c:216
↓ 2 callers
Function
dormant_source_valid
utility/sleep.c:48
↓ 2 callers
Function
dormant_source_valid
utility/WatchdogRP2350/pico_sleep/sleep.c:47
↓ 2 callers
Function
one_bus_cycle
utility/WatchdogKinetisK.cpp:75
↓ 2 callers
Function
powman_set_bits
! \brief hw_set_bits helper function * \ingroup hardware_powman * * \param reg register to set * \param bits bits of register to set * Powman ne
utility/hardware/powman.h:114
↓ 2 callers
Function
rosc_write_okay
utility/WatchdogRP2350/hardware_rosc/include/hardware/rosc.h:83
↓ 2 callers
Function
sleep_run_from_lposc
utility/WatchdogRP2350/pico_sleep/include/pico/sleep.h:63
↓ 2 callers
Function
watchdog_config
utility/WatchdogKinetisK.cpp:60
↓ 1 callers
Function
next_rosc_code
Given a ROSC delay stage code, return the next-numerically-higher code. Top result bit is set when called on maximum ROSC code.
utility/rosc.c:16
↓ 1 callers
Function
next_rosc_code
Given a ROSC delay stage code, return the next-numerically-higher code. Top result bit is set when called on maximum ROSC code.
utility/WatchdogRP2350/hardware_rosc/rosc.c:15
↓ 1 callers
Function
rosc_clear_bad_write
utility/WatchdogRP2350/hardware_rosc/include/hardware/rosc.h:79
↓ 1 callers
Function
rosc_disable
utility/rosc.c:55
↓ 1 callers
Function
rosc_disable
utility/WatchdogRP2350/hardware_rosc/rosc.c:54
↓ 1 callers
Function
rosc_enable
utility/rosc.c:73
↓ 1 callers
Function
rosc_enable
utility/WatchdogRP2350/hardware_rosc/rosc.c:72
↓ 1 callers
Function
rosc_set_div
utility/rosc.c:34
↓ 1 callers
Function
rosc_set_div
utility/WatchdogRP2350/hardware_rosc/rosc.c:33
↓ 1 callers
Function
rosc_set_dormant
utility/rosc.c:65
↓ 1 callers
Function
rosc_set_dormant
utility/WatchdogRP2350/hardware_rosc/rosc.c:64
↓ 1 callers
Function
rosc_set_freq
utility/rosc.c:39
↓ 1 callers
Function
rosc_set_freq
utility/WatchdogRP2350/hardware_rosc/rosc.c:38
↓ 1 callers
Function
sleep_goto_dormant_until
utility/sleep.c:227
↓ 1 callers
Function
sleep_goto_dormant_until
utility/WatchdogRP2350/pico_sleep/sleep.c:226
↓ 1 callers
Function
sleep_goto_dormant_until_pin
utility/sleep.c:256
↓ 1 callers
Function
sleep_goto_sleep_until
utility/sleep.c:153
↓ 1 callers
Function
sleep_goto_sleep_until
utility/WatchdogRP2350/pico_sleep/sleep.c:152
↓ 1 callers
Function
sleep_power_up
To be called after waking up from sleep/dormant mode to restore system clocks properly
utility/sleep.c:288
↓ 1 callers
Function
sleep_power_up
To be called after waking up from sleep/dormant mode to restore system clocks properly
utility/WatchdogRP2350/pico_sleep/sleep.c:287
Function
ISR
Define watchdog timer interrupt.
utility/WatchdogAVR.cpp:14
Function
WDT_Handler
utility/WatchdogSAMD.cpp:182
Method
WatchdogAVR
utility/WatchdogAVR.h:6
Method
WatchdogESP32
utility/WatchdogESP32.h:28
Method
WatchdogESP8266
utility/WatchdogESP8266.h:30
Method
WatchdogKinetisKseries
utility/WatchdogKinetisK.h:6
Method
WatchdogKinetisLseries
utility/WatchdogKinetisL.h:6
Method
WatchdogNRF
utility/WatchdogNRF.cpp:7
Method
WatchdogRP2040
utility/WatchdogRP2040.h:29
Method
WatchdogRP2350
utility/WatchdogRP2350/WatchdogRP2350.h:34
Method
WatchdogSAMD
utility/WatchdogSAMD.h:8
Method
_initialize_wdt
utility/WatchdogSAMD.cpp:237
Method
_setPeriod
utility/WatchdogAVR.cpp:90
Method
disable
/ ! @brief Unsubscribes the currently running task from the the TWDT, unsubscribes idle tasks from the TWDT, and deinitializes
utility/WatchdogESP32.cpp:68
Method
disable
Completely disable the watchdog timer.
utility/WatchdogKinetisK.cpp:40
Method
disable
utility/WatchdogAVR.cpp:33
Method
disable
/ ! @brief Once enabled, the RP2350's Watchdog Timer can NOT be disabled. */ /
utility/WatchdogRP2350.cpp:41
Method
disable
/ ! @brief Once enabled, the RP2040's Watchdog Timer can NOT be disabled. */ /
utility/WatchdogRP2040.cpp:40
Method
disable
utility/WatchdogSAMD.cpp:170
Method
disable
/ ! @brief Disables the Watchdog Timer. NOTE: Please don't stop the software WDT too long (less than 6 seconds), otherwise it wil
utility/WatchdogESP8266.cpp:47
Method
disable
Completely disable the watchdog timer.
utility/WatchdogKinetisL.cpp:51
Method
disable
There is no way to stop/disable watchdog using source code
utility/WatchdogNRF.cpp:40
Method
disable
/ ! @brief Once enabled, the RP2350's Watchdog Timer can NOT be disabled. */ /
utility/WatchdogRP2350/WatchdogRP2350.cpp:41
Method
enable
/ ! @brief Initializes the ESP32's Task Watchdog Timer (TWDT) and subscribes to the current running task. @param maxPeriodMS
utility/WatchdogESP32.cpp:15
Method
enable
Enable the watchdog timer to reset the machine after a period of time without any calls to reset(). The passed in period (in milliseconds) is just a
utility/WatchdogKinetisK.cpp:20
Method
enable
utility/WatchdogAVR.cpp:19
Method
enable
/ ! @brief Initializes the RP2350's hardware watchdog timer. @param maxPeriodMS Timeout period of WDT in milliseconds @r
utility/WatchdogRP2350.cpp:15
Method
enable
/ ! @brief Initializes the RP2040's hardware watchdog timer. @param maxPeriodMS Timeout period of WDT in milliseconds @r
utility/WatchdogRP2040.cpp:14
Method
enable
utility/WatchdogSAMD.cpp:11
Method
enable
/ ! @brief Initializes the ESP8266's software WDT @param maxPeriodMS Timeout period of WDT in milliseconds @return The a
utility/WatchdogESP8266.cpp:19
Method
enable
Enable the watchdog timer to reset the machine after a period of time without any calls to reset(). The passed in period (in milliseconds) is just a
utility/WatchdogKinetisL.cpp:23
Method
enable
utility/WatchdogNRF.cpp:9
Method
enable
/ ! @brief Initializes the RP2350's hardware watchdog timer. @param maxPeriodMS Timeout period of WDT in milliseconds @r
utility/WatchdogRP2350/WatchdogRP2350.cpp:15
Method
getSleepDuration
/ ! @brief Gets the duration of the previous sleep cycle, in milliseconds. @return The sleep duration in milliseconds. */ /
utility/WatchdogRP2350.cpp:98
Method
getSleepDuration
/ ! @brief Gets the duration of the previous sleep cycle, in milliseconds. @return The sleep duration in milliseconds. */ /
utility/WatchdogRP2350/WatchdogRP2350.cpp:98
Method
goToSleepUntil
/ ! @brief Puts the RP2350 into Sleep State (6.5.2, 6.5.3 in RP2350 Datasheet) for a specified period of time, uses the AON timer to wake the
utility/WatchdogRP2350.cpp:119
Method
goToSleepUntil
/ ! @brief Puts the RP2350 into Sleep State (6.5.2, 6.5.3 in RP2350 Datasheet) for a specified period of time, uses the AON timer to wake the
utility/WatchdogRP2350/WatchdogRP2350.cpp:119
Method
goToSleepUntilPin
/ ! @brief Puts the RP2350 into Dormant State (6.5.3 in RP2350 Datasheet) until the specified GPIO pin changes state. @param gpio_pin
utility/WatchdogRP2350.cpp:161
Method
goToSleepUntilPin
/ ! @brief Puts the RP2350 into Dormant State (6.5.3 in RP2350 Datasheet) until the specified GPIO pin changes state. @param gpio_pin
utility/WatchdogRP2350/WatchdogRP2350.cpp:161
Function
powman_clear_alarm
! \brief Clears the powman alarm * \ingroup hardware_powman * * Note, the alarm must be disabled (see \ref powman_timer_disable_alarm) before * cl
utility/hardware/powman.h:162
Function
powman_power_state_is_domain_on
! \brief Helper function to check if a domain is on in a given * powman_power_state * \ingroup hardware_powman * \param state powman_power_state *
utility/hardware/powman.h:233
Function
powman_power_state_with_domain_off
! \brief Helper function modify a powman_power_state to turn a domain off * \ingroup hardware_powman * \param orig original state * \param domain d
utility/hardware/powman.h:220
Function
powman_power_state_with_domain_on
! \brief Helper function modify a powman_power_state to turn a domain on * \ingroup hardware_powman * \param orig original state * \param domain do
utility/hardware/powman.h:208
Function
powman_set_debug_power_request_ignored
! \brief Ignore wake up when the debugger is attached * \ingroup hardware_powman * * Typically, when a debugger is attached it will assert the pwr
utility/hardware/powman.h:296
Function
powman_timer_is_running
! \brief Determine if the powman timer is running * \ingroup hardware_powman */
utility/hardware/powman.h:136
Function
powman_timer_start
! \brief Start the powman timer * \ingroup hardware_powman */
utility/hardware/powman.h:150
Function
powman_timer_stop
! \brief Stop the powman timer * \ingroup hardware_powman */
utility/hardware/powman.h:143
Method
reset
/ ! @brief Resets the Task Watchdog Timer (TWDT) on behalf of the currently running task. */ /
utility/WatchdogESP32.cpp:56
Method
reset
Reset or 'kick' the watchdog timer to prevent a reset of the device.
utility/WatchdogKinetisK.cpp:32
Method
reset
utility/WatchdogAVR.cpp:28
Method
reset
/ ! @brief Reload the watchdog counter with the amount of time set in enable(). */ /
utility/WatchdogRP2350.cpp:34
Method
reset
/ ! @brief Reload the watchdog counter with the amount of time set in enable(). */ /
utility/WatchdogRP2040.cpp:33
Method
reset
utility/WatchdogSAMD.cpp:149
Method
reset
/ ! @brief Feeds the Watchdog timer. NOTE: Calling yield() or delay() also feeds the hardware and software watchdog timers. */ /
utility/WatchdogESP8266.cpp:37
Method
reset
Reset or 'kick' the watchdog timer to prevent a reset of the device.
utility/WatchdogKinetisL.cpp:43
Method
reset
utility/WatchdogNRF.cpp:37
Method
reset
/ ! @brief Reload the watchdog counter with the amount of time set in enable(). */ /
utility/WatchdogRP2350/WatchdogRP2350.cpp:34
Method
resetCause
utility/WatchdogSAMD.cpp:162
Method
resumeFromSleep
/ ! @brief Re-enables clock sources and generators after waking from sleep, must be called by user code. */ /
utility/WatchdogRP2350.cpp:70
Method
resumeFromSleep
/ ! @brief Re-enables clock sources and generators after waking from sleep, must be called by user code. */ /
utility/WatchdogRP2350/WatchdogRP2350.cpp:70
Function
rosc_find_freq
utility/rosc.c:20
Function
rosc_find_freq
utility/WatchdogRP2350/hardware_rosc/rosc.c:19
Function
rosc_set_range
utility/rosc.c:48
Function
rosc_set_range
utility/WatchdogRP2350/hardware_rosc/rosc.c:47
next →
1–100 of 121, ranked by callers