pub enum LSBFIRSTR {
MSBFIRST,
LSBFIRST,
}Expand description
Possible values of the field LSBFIRST
Variants§
MSBFIRST
Data is transmitted/received with the MSB first
LSBFIRST
Data is transmitted/received with the LSB first
Implementations§
source§impl LSBFIRSTR
impl LSBFIRSTR
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_msbfirst(&self) -> bool
pub fn is_msbfirst(&self) -> bool
Checks if the value of the field is MSBFIRST
sourcepub fn is_lsbfirst(&self) -> bool
pub fn is_lsbfirst(&self) -> bool
Checks if the value of the field is LSBFIRST