pub struct W(/* private fields */);
Expand description
Register tp_ctrl1
writer
Implementations§
source§impl W
impl W
sourcepub unsafe fn adc_chan_select<const O: u8>(
&mut self,
) -> ADC_CHAN_SELECT_W<'_, O>
pub unsafe fn adc_chan_select<const O: u8>( &mut self, ) -> ADC_CHAN_SELECT_W<'_, O>
Analog Input Channel Select
sourcepub fn adc_chan0_select(&mut self) -> ADC_CHAN_SELECT_W<'_, 0>
pub fn adc_chan0_select(&mut self) -> ADC_CHAN_SELECT_W<'_, 0>
Bit 0 - Analog Input Channel Select
sourcepub fn adc_chan1_select(&mut self) -> ADC_CHAN_SELECT_W<'_, 1>
pub fn adc_chan1_select(&mut self) -> ADC_CHAN_SELECT_W<'_, 1>
Bit 1 - Analog Input Channel Select
sourcepub fn adc_chan2_select(&mut self) -> ADC_CHAN_SELECT_W<'_, 2>
pub fn adc_chan2_select(&mut self) -> ADC_CHAN_SELECT_W<'_, 2>
Bit 2 - Analog Input Channel Select
sourcepub fn adc_chan3_select(&mut self) -> ADC_CHAN_SELECT_W<'_, 3>
pub fn adc_chan3_select(&mut self) -> ADC_CHAN_SELECT_W<'_, 3>
Bit 3 - Analog Input Channel Select
sourcepub fn tp_mode_select(&mut self) -> TP_MODE_SELECT_W<'_, 4>
pub fn tp_mode_select(&mut self) -> TP_MODE_SELECT_W<'_, 4>
Bit 4 - Touch Panel Mode and Auxiliary ADC Mode Select
sourcepub fn tp_dual_en(&mut self) -> TP_DUAL_EN_W<'_, 6>
pub fn tp_dual_en(&mut self) -> TP_DUAL_EN_W<'_, 6>
Bit 6 - Touch Panel Double Point Enable
sourcepub fn touch_pan_cali_en(&mut self) -> TOUCH_PAN_CALI_EN_W<'_, 7>
pub fn touch_pan_cali_en(&mut self) -> TOUCH_PAN_CALI_EN_W<'_, 7>
Bit 7 - Touch Panel Calibration
sourcepub fn chopper_en(&mut self) -> CHOPPER_EN_W<'_, 8>
pub fn chopper_en(&mut self) -> CHOPPER_EN_W<'_, 8>
Bit 8 - T-sensor Chopping Enable
sourcepub fn stylus_up_debounce_en(&mut self) -> STYLUS_UP_DEBOUNCE_EN_W<'_, 9>
pub fn stylus_up_debounce_en(&mut self) -> STYLUS_UP_DEBOUNCE_EN_W<'_, 9>
Bit 9 - Stylus Up Debounce Function Select
sourcepub fn stylus_up_debounce(&mut self) -> STYLUS_UP_DEBOUNCE_W<'_, 12>
pub fn stylus_up_debounce(&mut self) -> STYLUS_UP_DEBOUNCE_W<'_, 12>
Bits 12:19 - Stylus Up Debounce Time Setting
Methods from Deref<Target = W<TP_CTRL1_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more