Struct esp32c6_hal::peripherals::MCPWM0
source · pub struct MCPWM0 { /* private fields */ }
Implementations§
source§impl MCPWM0
impl MCPWM0
sourcepub unsafe fn steal() -> MCPWM0
pub unsafe fn steal() -> MCPWM0
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 MCPWM0
impl Peripheral for MCPWM0
source§impl PwmPeripheral for MCPWM0
impl PwmPeripheral for MCPWM0
source§fn enable(system: &mut PeripheralClockControl)
fn enable(system: &mut PeripheralClockControl)
Enable peripheral
source§fn output_signal<const OP: u8, const IS_A: bool>() -> OutputSignal
fn output_signal<const OP: u8, const IS_A: bool>() -> OutputSignal
Get operator GPIO mux output signal
Auto Trait Implementations§
impl RefUnwindSafe for MCPWM0
impl Send for MCPWM0
impl Sync for MCPWM0
impl Unpin for MCPWM0
impl UnwindSafe for MCPWM0
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