pub fn continuous_mode(touch_peripheral: TOUCH<'d>, config: Option<TouchConfig>) -> Self {
        Self::initialize_common_continuous(config);

        Self {
            _inner: touch_peripheral,
            _mode: PhantomData,
            _touch_mode: PhantomData,
        }
    }
# use esp_hal::touch::{Touch, TouchConfig};
let touch_cfg = Some(TouchConfig {
measurement_duration: Some(0x3000),
..Default::default()
});
let touch = Touch::continuous_mode(peripherals.TOUCH, touch_cfg);
# Ok(())
# }
```
esp-hal/src/touch.rs