21 :
Timebase(static_cast<uint64_t>(UINT64_MAX), UINT32_MAX)
31 return esp_timer_get_time();
40 return static_cast<TimestampMS>(esp_timer_get_time() / 1000) % UINT32_MAX;
基于 esp_timer 的时间基准实现(微秒与毫秒) Timebase implementation using esp_timer (microseconds and milliseconds)
TimestampMS _get_milliseconds() override
获取当前时间(毫秒)
TimestampUS _get_microseconds() override
获取当前时间(微秒)
时间基类,用于提供高精度时间戳。 Timebase class for providing high-precision timestamps.
表示毫秒级时间戳的类。Class representing a timestamp in milliseconds.
表示微秒级时间戳的类。Class representing a timestamp in microseconds.
LibXR Color Control Library / LibXR终端颜色控制库