[−][src]Struct lpc55_pac::iocon::pio0_12::ASW_W
Write proxy for field ASW
Implementations
impl<'a> ASW_W<'a>
[src][−]
pub fn variant(self, variant: ASW_A) -> &'a mut W
[src][−]
Writes variant
to the field
pub fn value0(self) -> &'a mut W
[src][−]
For pins PIO0_9, PIO0_11, PIO0_12, PIO0_15, PIO0_18, PIO0_31, PIO1_0 and PIO1_9, analog switch is closed (enabled). For the other pins, analog switch is open (disabled).
pub fn value1(self) -> &'a mut W
[src][−]
For all pins except PIO0_9, PIO0_11, PIO0_12, PIO0_15, PIO0_18, PIO0_31, PIO1_0 and PIO1_9 analog switch is closed (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>,