Struct lpc55_pac::iocon::pio1_17::MODE_R [−][src]
pub struct MODE_R(_);
Field MODE
reader - Selects function mode (on-chip pull-up/pull-down resistor control).
Implementations
impl MODE_R
[src]
impl MODE_R
[src]pub fn variant(&self) -> MODE_A
[src]
Get enumerated values variant
pub fn is_inactive(&self) -> bool
[src]
Checks if the value of the field is INACTIVE
pub fn is_pull_down(&self) -> bool
[src]
Checks if the value of the field is PULL_DOWN
pub fn is_pull_up(&self) -> bool
[src]
Checks if the value of the field is PULL_UP
pub fn is_repeater(&self) -> bool
[src]
Checks if the value of the field is REPEATER
Methods from Deref<Target = FieldReader<u8, MODE_A>>
pub fn bit(&self) -> bool
[src]
Value of the field as raw bits.
pub fn bit_is_clear(&self) -> bool
[src]
Returns true
if the bit is clear (0).
pub fn bit_is_set(&self) -> bool
[src]
Returns true
if the bit is set (1).