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