ESPHome 2026.5.0b1
Loading...
Searching...
No Matches
hal.h File Reference

Go to the source code of this file.

Namespaces

namespace  esphome
 
namespace  esphome::esp8266
 

Functions

void yield (void)
 
void delay (unsigned long ms)
 
unsigned long micros (void)
 
unsigned long millis (void)
 
void system_soft_wdt_feed (void)
 
 esphome::__attribute__ ((always_inline)) inline bool in_isr_context()
 Returns true when executing inside an interrupt handler.
 
void HOT esphome::delay (uint32_t ms)
 
uint32_t IRAM_ATTR HOT esphome::millis ()
 
System APIs
void esphome::delay_microseconds_safe (uint32_t us)
 Delay for the given amount of microseconds, possibly yielding to other processes during the wait.
 

Function Documentation

◆ delay()

void delay ( unsigned long ms)

◆ micros()

unsigned long micros ( void )

◆ millis()

unsigned long millis ( void )

◆ system_soft_wdt_feed()

void system_soft_wdt_feed ( void )

◆ yield()

void yield ( void )