pub fn set_timestamp(&mut self, value: u16) {
        // SAFETY:
        // We only write to our GENx_TSTMP_x register
        let ch = unsafe { Self::ch() };

        #[cfg(esp32s3)]
        if IS_A {
            ch.cmpr_value0().write(|w| unsafe { w.a().bits(value) });
        } else {
            ch.cmpr_value1().write(|w| unsafe { w.b().bits(value) });
        }

        #[cfg(any(esp32, esp32c6, esp32h2))]
        if IS_A {
            ch.gen_tstmp_a().write(|w| unsafe { w.a().bits(value) });
        } else {
            ch.gen_tstmp_b().write(|w| unsafe { w.b().bits(value) });
        }
    }
Write a new timestamp.
The written value will take effect according to the set
[`PwmUpdateMethod`].
esp-hal/src/mcpwm/operator.rs