pub fn with_vsync(self, pin: impl PeripheralInput<'d>) -> Self {
        let pin = pin.into();

        pin.apply_input_config(&InputConfig::default());
        pin.set_input_enable(true);
        InputSignal::CAM_V_SYNC.connect_to(&pin);

        self
    }
Configures the Vertical Sync (VSYNC) pin for the camera interface.
esp-hal/src/lcd_cam/cam.rs