ESPHome 2026.4.0
Loading...
Searching...
No Matches
wake.h File Reference

Platform-specific main loop wake primitives. More...

Go to the source code of this file.

Namespaces

namespace  esphome
 Providing packet encoding functions for exchanging data with a remote host.
 
namespace  esphome::internal
 RP2040 wakeable delay uses file-scope state (alarm callback + flag) — defined in wake.cpp.
 

Functions

void IRAM_ATTR esphome::wake_loop_isrsafe (BaseType_t *px_higher_priority_task_woken)
 IRAM_ATTR entry point — defined in wake.cpp.
 
void IRAM_ATTR esphome::wake_loop_any_context ()
 IRAM_ATTR entry point — defined in wake.cpp.
 
void esphome::wake_loop_threadsafe ()
 Non-ISR: always inline.
 
void esphome::internal::wakeable_delay (uint32_t ms)
 
void ESPHOME_ALWAYS_INLINE esphome::wake_loop_impl ()
 Inline implementation — IRAM callers inline this directly.
 

Detailed Description

Platform-specific main loop wake primitives.

Always available on all platforms — no opt-in needed.

Definition in file wake.h.