pub enum OT15R {
PUSHPULL,
OPENDRAIN,
}
Expand description
Possible values of the field OT15
Variants§
Implementations§
§impl OT15R
impl OT15R
pub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
pub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
pub fn is_push_pull(&self) -> bool
pub fn is_push_pull(&self) -> bool
Checks if the value of the field is PUSHPULL
pub fn is_open_drain(&self) -> bool
pub fn is_open_drain(&self) -> bool
Checks if the value of the field is OPENDRAIN