pub struct R(/* private fields */);
Expand description
Register gp_cs_en
reader
Implementations§
source§impl R
impl R
sourcepub unsafe fn adc_ch_select(&self, n: u8) -> ADC_CH_SELECT_R
pub unsafe fn adc_ch_select(&self, n: u8) -> ADC_CH_SELECT_R
Analog Input Channel Select
sourcepub fn adc_ch0_select(&self) -> ADC_CH_SELECT_R
pub fn adc_ch0_select(&self) -> ADC_CH_SELECT_R
Bit 0 - Analog Input Channel Select
sourcepub fn adc_ch1_select(&self) -> ADC_CH_SELECT_R
pub fn adc_ch1_select(&self) -> ADC_CH_SELECT_R
Bit 1 - Analog Input Channel Select
sourcepub unsafe fn adc_ch_cmp_en(&self, n: u8) -> ADC_CH_CMP_EN_R
pub unsafe fn adc_ch_cmp_en(&self, n: u8) -> ADC_CH_CMP_EN_R
Channel Compare Enable
sourcepub fn adc_ch0_cmp_en(&self) -> ADC_CH_CMP_EN_R
pub fn adc_ch0_cmp_en(&self) -> ADC_CH_CMP_EN_R
Bit 16 - Channel Compare Enable
sourcepub fn adc_ch1_cmp_en(&self) -> ADC_CH_CMP_EN_R
pub fn adc_ch1_cmp_en(&self) -> ADC_CH_CMP_EN_R
Bit 17 - Channel Compare Enable
Methods from Deref<Target = R<GP_CS_EN_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