Struct esp32c6_hal::peripherals::PMU
source · pub struct PMU { /* private fields */ }
Implementations§
source§impl PMU
impl PMU
sourcepub unsafe fn steal() -> PMU
pub unsafe fn steal() -> PMU
Unsafely create an instance of this peripheral out of thin air.
Safety
You must ensure that you’re only using one instance of this type at a time.
Trait Implementations§
source§impl Peripheral for PMU
impl Peripheral for PMU
Auto Trait Implementations§
impl RefUnwindSafe for PMU
impl Send for PMU
impl Sync for PMU
impl Unpin for PMU
impl UnwindSafe for PMU
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