Struct esp32_hal::peripherals::PWM0
source · pub struct PWM0 { /* private fields */ }
Implementations§
source§impl PWM0
impl PWM0
sourcepub unsafe fn steal() -> PWM0
pub unsafe fn steal() -> PWM0
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 &mut PWM0
impl Peripheral for &mut PWM0
source§impl Peripheral for PWM0
impl Peripheral for PWM0
source§impl PwmPeripheral for PWM0
impl PwmPeripheral for PWM0
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