Enum stm32f429i_disc::spi1::i2scfgr::I2SMODR
pub enum I2SMODR {
SPIMODE,
I2SMODE,
}
Expand description
Possible values of the field I2SMOD
Variants
SPIMODE
SPI mode is selected
I2SMODE
I2S mode is selected
Implementations
impl I2SMODR
impl I2SMODR
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_spimode(&self) -> bool
pub fn is_spimode(&self) -> bool
Checks if the value of the field is SPIMODE
pub fn is_i2smode(&self) -> bool
pub fn is_i2smode(&self) -> bool
Checks if the value of the field is I2SMODE
Trait Implementations
impl Copy for I2SMODR
impl StructuralPartialEq for I2SMODR
Auto Trait Implementations
impl RefUnwindSafe for I2SMODR
impl Send for I2SMODR
impl Sync for I2SMODR
impl Unpin for I2SMODR
impl UnwindSafe for I2SMODR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more