Struct lpc55_pac::adc0::cmdl1::MODE_W [−][src]
pub struct MODE_W<'a> { /* fields omitted */ }
Field MODE
writer - Select resolution of conversions
Implementations
impl<'a> MODE_W<'a>
[src]
impl<'a> MODE_W<'a>
[src]pub fn variant(self, variant: MODE_A) -> &'a mut W
[src]
Writes variant
to the field
pub fn mode_0(self) -> &'a mut W
[src]
Standard resolution. Single-ended 12-bit conversion; Differential 13-bit conversion with 2’s complement output.
pub fn mode_1(self) -> &'a mut W
[src]
High resolution. Single-ended 16-bit conversion; Differential 16-bit conversion with 2’s complement output.
pub fn set_bit(self) -> &'a mut W
[src]
Sets the field bit
pub fn clear_bit(self) -> &'a mut W
[src]
Clears the field bit
pub fn bit(self, value: bool) -> &'a mut W
[src]
Writes raw bits to the field