Struct esp32c2_hal::system::PeripheralClockControl
source · pub struct PeripheralClockControl { /* private fields */ }
Expand description
Controls the enablement of peripheral clocks.
Implementations§
source§impl PeripheralClockControl
impl PeripheralClockControl
sourcepub fn enable(&mut self, peripheral: Peripheral)
pub fn enable(&mut self, peripheral: Peripheral)
Enables and resets the given peripheral