pub enum MSBFR {
_0,
_1,
}Expand description
Possible values of the field MSBF
Variants§
_0
LSB (bit0) is the first bit that is transmitted following the start bit. Further, the first bit received after the start bit is identified as bit0.
_1
MSB (bit8, bit7 or bit6) is the first bit that is transmitted following the start bit, depending on the setting of C1[M] and C1[PE]. Further, the first bit received after the start bit is identified as bit8, bit7, or bit6, depending on the setting of C1[M] and C1[PE].
Implementations§
Source§impl MSBFR
impl MSBFR
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)
Trait Implementations§
impl Copy for MSBFR
impl StructuralPartialEq for MSBFR
Auto Trait Implementations§
impl Freeze for MSBFR
impl RefUnwindSafe for MSBFR
impl Send for MSBFR
impl Sync for MSBFR
impl Unpin for MSBFR
impl UnwindSafe for MSBFR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more