Enum nucleo_f401re::i2s2ext::cr1::LSBFIRSTR
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§
§impl LSBFIRSTR
impl LSBFIRSTR
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_msbfirst(&self) -> bool
pub fn is_msbfirst(&self) -> bool
Checks if the value of the field is MSBFIRST
pub fn is_lsbfirst(&self) -> bool
pub fn is_lsbfirst(&self) -> bool
Checks if the value of the field is LSBFIRST