pub fn set_actions(&mut self, value: PwmActions<IS_A>) {
        // SAFETY:
        // We only write to our GENx_x register
        let ch = unsafe { Self::ch() };
        let bits = value.0;

        // SAFETY:
        // `bits` is a valid bit pattern
        ch.r#gen((!IS_A) as usize)
            .write(|w| unsafe { w.bits(bits) });
    }
Configure what actions should be taken on timing events
esp-hal/src/mcpwm/operator.rs