pub type MODE_R = FieldReader<u8, MODE_A>;
Expand description
Field MODE
reader - Selects function mode (on-chip pull-up/pull-down resistor control).
Implementations§
source§impl MODE_R
impl MODE_R
sourcepub fn is_inactive(&self) -> bool
pub fn is_inactive(&self) -> bool
Checks if the value of the field is INACTIVE
sourcepub fn is_pull_down(&self) -> bool
pub fn is_pull_down(&self) -> bool
Checks if the value of the field is PULL_DOWN
sourcepub fn is_pull_up(&self) -> bool
pub fn is_pull_up(&self) -> bool
Checks if the value of the field is PULL_UP
sourcepub fn is_repeater(&self) -> bool
pub fn is_repeater(&self) -> bool
Checks if the value of the field is REPEATER