10#if defined(USE_ESP32) || defined(USE_LIBRETINY)
15#elif defined(USE_RP2040)
16#include <hardware/sync.h>
23#if defined(USE_ESP8266) || defined(USE_RP2040)
29#if defined(USE_ESP32) || defined(USE_LIBRETINY)
51 ulTaskNotifyTake(pdTRUE, pdMS_TO_TICKS(ms));
56#elif defined(USE_ESP8266)
85#elif defined(USE_RP2040)
void wakeable_delay(uint32_t ms)
Providing packet encoding functions for exchanging data with a remote host.
void wake_loop_threadsafe()
Non-ISR: always inline.
void ESPHOME_ALWAYS_INLINE wake_loop_impl()
Inline implementation — IRAM callers inline this directly.
volatile bool g_main_loop_woke
void HOT delay(uint32_t ms)
void IRAM_ATTR wake_loop_any_context()
IRAM_ATTR entry point — defined in wake.cpp.
void IRAM_ATTR wake_loop_isrsafe(BaseType_t *px_higher_priority_task_woken)
IRAM_ATTR entry point — defined in wake.cpp.