Trait esp32_hal::mcpwm::PwmPeripheral
source · pub unsafe trait PwmPeripheral: Deref<Target = RegisterBlock> {
// Required methods
fn enable();
fn block() -> *const RegisterBlock;
fn output_signal<const OP: u8, const IS_A: bool>() -> OutputSignal;
}
Expand description
A MCPWM peripheral
Required Methods§
sourcefn block() -> *const RegisterBlock
fn block() -> *const RegisterBlock
Get a pointer to the peripheral RegisterBlock
sourcefn 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
Object Safety§
This trait is not object safe.