[−][src]Struct lpc55_pac::iocon::pio1_22::DIGIMODE_W
Write proxy for field DIGIMODE
Implementations
impl<'a> DIGIMODE_W<'a>
[src][−]
pub fn variant(self, variant: DIGIMODE_A) -> &'a mut W
[src][−]
Writes variant
to the field
pub fn analog(self) -> &'a mut W
[src][−]
Disable digital mode. Digital input set to 0.
pub fn digital(self) -> &'a mut W
[src][−]
Enable Digital mode. Digital input is enabled.
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
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,