Struct atsamd21e18a::adc::ctrlb::R [−][src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
impl R
pub fn bits(&self) -> u16
[src]
pub fn bits(&self) -> u16
Value of the register as raw bits
pub fn diffmode(&self) -> DIFFMODER
[src]
pub fn diffmode(&self) -> DIFFMODER
Bit 0 - Differential Mode
pub fn leftadj(&self) -> LEFTADJR
[src]
pub fn leftadj(&self) -> LEFTADJR
Bit 1 - Left-Adjusted Result
pub fn freerun(&self) -> FREERUNR
[src]
pub fn freerun(&self) -> FREERUNR
Bit 2 - Free Running Mode
pub fn corren(&self) -> CORRENR
[src]
pub fn corren(&self) -> CORRENR
Bit 3 - Digital Correction Logic Enabled
pub fn ressel(&self) -> RESSELR
[src]
pub fn ressel(&self) -> RESSELR
Bits 4:5 - Conversion Result Resolution
pub fn prescaler(&self) -> PRESCALERR
[src]
pub fn prescaler(&self) -> PRESCALERR
Bits 8:10 - Prescaler Configuration