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