Struct esp32_hal::clock_control::dfs::LockCPU [−][src]
pub struct LockCPU {}
Expand description
A RAII implementation of a “scoped lock” for CPU frequency. When this structure is dropped (falls out of scope), the lock will be unlocked. This structure is created by the lock_cpu_frequency method on ClockControlConfig