8#include "hardware/timer.h"
9#include "hardware/watchdog.h"
20 watchdog_reboot(0, 0, 10);
27#if USE_RP2040_WATCHDOG_TIMEOUT > 0
28 watchdog_enable(USE_RP2040_WATCHDOG_TIMEOUT,
false);
35 return pgm_read_byte(addr);
Providing packet encoding functions for exchanging data with a remote host.
uint32_t arch_get_cpu_cycle_count()
void IRAM_ATTR HOT delayMicroseconds(uint32_t us)
uint32_t arch_get_cpu_freq_hz()
uint32_t IRAM_ATTR HOT micros()
void IRAM_ATTR HOT delay_microseconds_safe(uint32_t us)
Delay for the given amount of microseconds, possibly yielding to other processes during the wait.
uint16_t progmem_read_uint16(const uint16_t *addr)
constexpr ESPHOME_ALWAYS_INLINE ReturnT micros_to_millis(uint64_t us)
Convert a 64-bit microsecond count to milliseconds without calling __udivdi3 (software 64-bit divide,...
void HOT delay(uint32_t ms)
uint32_t IRAM_ATTR HOT millis()
uint8_t progmem_read_byte(const uint8_t *addr)
unsigned long ulMainGetRunTimeCounterValue()