pub unsafe trait PwmPeripheral: Deref<Target = RegisterBlock> {
    // Required methods
    fn enable(system: &mut PeripheralClockControl);
    fn block() -> *const RegisterBlock;
    fn output_signal<const OP: u8, const IS_A: bool>() -> OutputSignal;
}
Expand description

A MCPWM peripheral

Required Methods§

source

fn enable(system: &mut PeripheralClockControl)

Enable peripheral

source

fn block() -> *const RegisterBlock

Get a pointer to the peripheral RegisterBlock

source

fn output_signal<const OP: u8, const IS_A: bool>() -> OutputSignal

Get operator GPIO mux output signal

Implementors§