pub struct R(/* private fields */);
Expand description
Register tp_ctrl1
reader
Implementations§
source§impl R
impl R
sourcepub unsafe fn adc_chan_select(&self, n: u8) -> ADC_CHAN_SELECT_R
pub unsafe fn adc_chan_select(&self, n: u8) -> ADC_CHAN_SELECT_R
Analog Input Channel Select
sourcepub fn adc_chan0_select(&self) -> ADC_CHAN_SELECT_R
pub fn adc_chan0_select(&self) -> ADC_CHAN_SELECT_R
Bit 0 - Analog Input Channel Select
sourcepub fn adc_chan1_select(&self) -> ADC_CHAN_SELECT_R
pub fn adc_chan1_select(&self) -> ADC_CHAN_SELECT_R
Bit 1 - Analog Input Channel Select
sourcepub fn adc_chan2_select(&self) -> ADC_CHAN_SELECT_R
pub fn adc_chan2_select(&self) -> ADC_CHAN_SELECT_R
Bit 2 - Analog Input Channel Select
sourcepub fn adc_chan3_select(&self) -> ADC_CHAN_SELECT_R
pub fn adc_chan3_select(&self) -> ADC_CHAN_SELECT_R
Bit 3 - Analog Input Channel Select
sourcepub fn tp_mode_select(&self) -> TP_MODE_SELECT_R
pub fn tp_mode_select(&self) -> TP_MODE_SELECT_R
Bit 4 - Touch Panel Mode and Auxiliary ADC Mode Select
sourcepub fn tp_dual_en(&self) -> TP_DUAL_EN_R
pub fn tp_dual_en(&self) -> TP_DUAL_EN_R
Bit 6 - Touch Panel Double Point Enable
sourcepub fn touch_pan_cali_en(&self) -> TOUCH_PAN_CALI_EN_R
pub fn touch_pan_cali_en(&self) -> TOUCH_PAN_CALI_EN_R
Bit 7 - Touch Panel Calibration
sourcepub fn chopper_en(&self) -> CHOPPER_EN_R
pub fn chopper_en(&self) -> CHOPPER_EN_R
Bit 8 - T-sensor Chopping Enable
sourcepub fn stylus_up_debounce_en(&self) -> STYLUS_UP_DEBOUNCE_EN_R
pub fn stylus_up_debounce_en(&self) -> STYLUS_UP_DEBOUNCE_EN_R
Bit 9 - Stylus Up Debounce Function Select
sourcepub fn stylus_up_debounce(&self) -> STYLUS_UP_DEBOUNCE_R
pub fn stylus_up_debounce(&self) -> STYLUS_UP_DEBOUNCE_R
Bits 12:19 - Stylus Up Debounce Time Setting
Methods from Deref<Target = R<TP_CTRL1_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for R
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