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

Go to the source code of this file.

Namespaces

namespace  esphome
 

Functions

template<typename ReturnT = uint32_t>
 esphome::__attribute__ ((always_inline)) inline const expr ReturnT micros_to_millis(uint64_t us)
 Convert a 64-bit microsecond count to milliseconds without calling __udivdi3 (software 64-bit divide, ~1200 ns on Xtensa @ 240 MHz).