Function esp_idf_svc::hal::rmt::ticks_to_duration
source ยท pub fn ticks_to_duration(
ticks_hz: Hertz,
ticks: u16,
) -> Result<Duration, EspError>
Expand description
A utility to convert ticks into duration, depending on the clock ticks.