Struct zinc_hal_lpc11xx::ioregs::ADC_dr6
[−]
[src]
pub struct ADC_dr6 {
// some fields omitted
}Register DR6: A/D Channel n Data Register. This register contains the result of the most recent conversion completed on channel n.
Methods
impl ADC_dr6
fn get(&self) -> ADC_dr6_Get
Fetch the value of the DR6 register.
fn v_vref(&self) -> u32
Get value of V_VREF field.
fn overrun(&self) -> bool
Get value of OVERRUN field.
fn done(&self) -> bool
Get value of DONE field.
fn ignoring_state(&self) -> ADC_dr6_Update
Create new updater that ignores current value of the DR6 register.
fn set_v_vref<'a>(&'a mut self, new_value: u32) -> ADC_dr6_Update<'a>
Set value of V_VREF field.
fn set_overrun<'a>(&'a mut self, new_value: bool) -> ADC_dr6_Update<'a>
Set value of OVERRUN field.
fn set_done<'a>(&'a mut self, new_value: bool) -> ADC_dr6_Update<'a>
Set value of DONE field.