Enum stm32f407g_disc::uart4::cr3::ONEBITR
pub enum ONEBITR {
SAMPLE3,
SAMPLE1,
}
Expand description
Possible values of the field ONEBIT
Variants§
Implementations§
§impl ONEBITR
impl ONEBITR
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_sample3(&self) -> bool
pub fn is_sample3(&self) -> bool
Checks if the value of the field is SAMPLE3
pub fn is_sample1(&self) -> bool
pub fn is_sample1(&self) -> bool
Checks if the value of the field is SAMPLE1