Struct lpc55_pac::iocon::pio0_9::ASW_W [−][src]
pub struct ASW_W<'a> { /* fields omitted */ }
Field ASW
writer - Analog switch input control.
Implementations
impl<'a> ASW_W<'a>
[src]
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