Struct lpc55_pac::iocon::pio1_21::W [−][src]
pub struct W(_);
Register PIO1_21
writer
Implementations
impl W
[src]
impl W
[src]pub fn func(&mut self) -> FUNC_W<'_>
[src]
Bits 0:3 - Selects pin function.
pub fn mode(&mut self) -> MODE_W<'_>
[src]
Bits 4:5 - Selects function mode (on-chip pull-up/pull-down resistor control).
pub fn slew(&mut self) -> SLEW_W<'_>
[src]
Bit 6 - Driver slew rate.
pub fn invert(&mut self) -> INVERT_W<'_>
[src]
Bit 7 - Input polarity.
pub fn digimode(&mut self) -> DIGIMODE_W<'_>
[src]
Bit 8 - Select Digital mode.
pub fn od(&mut self) -> OD_W<'_>
[src]
Bit 9 - Controls open-drain mode.
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register.
Methods from Deref<Target = W<PIO1_21_SPEC>>
Trait Implementations
impl From<W<PIO1_21_SPEC>> for W
[src]
impl From<W<PIO1_21_SPEC>> for W
[src]