Struct esp32c6_hal::peripherals::PCNT
source · pub struct PCNT { /* private fields */ }
Implementations§
source§impl PCNT
impl PCNT
sourcepub unsafe fn steal() -> PCNT
pub unsafe fn steal() -> PCNT
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 PCNT
impl Peripheral for PCNT
Auto Trait Implementations§
impl RefUnwindSafe for PCNT
impl Send for PCNT
impl Sync for PCNT
impl Unpin for PCNT
impl UnwindSafe for PCNT
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