pub enum MODER {
INACTIVE,
PULL_DOWN,
PULL_UP,
REPEATER,
}
Expand description
Possible values of the field MODE
Variants§
INACTIVE
Inactive (no pull-down/pull-up resistor enabled).
PULL_DOWN
Pull-down resistor enabled.
PULL_UP
Pull-up resistor enabled.
REPEATER
Repeater mode.
Implementations§
source§impl MODER
impl MODER
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