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
Auto Trait Implementations§
impl RefUnwindSafe for PeripheralClockControl
impl Send for PeripheralClockControl
impl Sync for PeripheralClockControl
impl Unpin for PeripheralClockControl
impl UnwindSafe for PeripheralClockControl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more