Struct lpc55_pac::iocon::pio1_14::MODE_W [−][src]
pub struct MODE_W<'a> { /* fields omitted */ }
Field MODE
writer - Selects function mode (on-chip pull-up/pull-down resistor control).
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 inactive(self) -> &'a mut W
[src]
Inactive. Inactive (no pull-down/pull-up resistor enabled).
pub fn pull_down(self) -> &'a mut W
[src]
Pull-down. Pull-down resistor enabled.
pub fn pull_up(self) -> &'a mut W
[src]
Pull-up. Pull-up resistor enabled.
pub fn repeater(self) -> &'a mut W
[src]
Repeater. Repeater mode.
pub fn bits(self, value: u8) -> &'a mut W
[src]
Writes raw bits to the field