pub enum SBSR {
_1_STOP_BIT,
_2_STOP_BITS_1_5_IF,
}
Expand description
Possible values of the field SBS
Variants§
Implementations§
source§impl SBSR
impl SBSR
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
sourcepub fn is_1_stop_bit(&self) -> bool
pub fn is_1_stop_bit(&self) -> bool
Checks if the value of the field is _1_STOP_BIT
sourcepub fn is_2_stop_bits_1_5_if(&self) -> bool
pub fn is_2_stop_bits_1_5_if(&self) -> bool
Checks if the value of the field is _2_STOP_BITS_1_5_IF