Struct d1_pac::lradc::lradc_ctrl::R
source · pub struct R(/* private fields */);
Expand description
Register lradc_ctrl
reader
Implementations§
source§impl R
impl R
sourcepub fn lradc_en(&self) -> LRADC_EN_R
pub fn lradc_en(&self) -> LRADC_EN_R
Bit 0 - LRADC Enable
sourcepub fn lradc_sample_rate(&self) -> LRADC_SAMPLE_RATE_R
pub fn lradc_sample_rate(&self) -> LRADC_SAMPLE_RATE_R
Bits 2:3 - LRADC Sample Rate
sourcepub fn levelb_vol(&self) -> LEVELB_VOL_R
pub fn levelb_vol(&self) -> LEVELB_VOL_R
Bits 4:5 - Level B Corresponding Data Value Setting (the real voltage value)
sourcepub fn lradc_channel_en(&self) -> LRADC_CHANNEL_EN_R
pub fn lradc_channel_en(&self) -> LRADC_CHANNEL_EN_R
Bit 6 - LRADC Channel Enable
sourcepub fn lradc_hold_key_en(&self) -> LRADC_HOLD_KEY_EN_R
pub fn lradc_hold_key_en(&self) -> LRADC_HOLD_KEY_EN_R
Bit 7 - LRADC Hold Key Enable
sourcepub fn levela_b_cnt(&self) -> LEVELA_B_CNT_R
pub fn levela_b_cnt(&self) -> LEVELA_B_CNT_R
Bits 8:11 - Level A to B time threshold select
sourcepub fn key_mode_select(&self) -> KEY_MODE_SELECT_R
pub fn key_mode_select(&self) -> KEY_MODE_SELECT_R
Bits 12:13 - Key Mode Select
sourcepub fn continue_time_select(&self) -> CONTINUE_TIME_SELECT_R
pub fn continue_time_select(&self) -> CONTINUE_TIME_SELECT_R
Bits 16:19 - Continuous Mode Time Select
sourcepub fn first_convert_dly(&self) -> FIRST_CONVERT_DLY_R
pub fn first_convert_dly(&self) -> FIRST_CONVERT_DLY_R
Bits 24:31 - ADC First Convert Delay Setting
Methods from Deref<Target = R<LRADC_CTRL_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