Function esp_idf_svc::sys::esp_rom_set_cpu_ticks_per_us

source ยท
pub unsafe extern "C" fn esp_rom_set_cpu_ticks_per_us(
    ticks_per_us: u32,
)
Expand description

@brief Set the real CPU tick rate

@note Call this function when CPU frequency is changed, otherwise the esp_rom_delay_us can be inaccurate.

@param ticks_per_us CPU ticks per us