pub enum PUPDR15R {
FLOATING,
PULLUP,
PULLDOWN,
_Reserved(u8),
}
Expand description
Possible values of the field PUPDR15
Variants§
Implementations§
§impl PUPDR15R
impl PUPDR15R
pub fn is_floating(&self) -> bool
pub fn is_floating(&self) -> bool
Checks if the value of the field is FLOATING
pub fn is_pull_up(&self) -> bool
pub fn is_pull_up(&self) -> bool
Checks if the value of the field is PULLUP
pub fn is_pull_down(&self) -> bool
pub fn is_pull_down(&self) -> bool
Checks if the value of the field is PULLDOWN