pub enum I2SCFGR {
SLAVETX,
SLAVERX,
MASTERTX,
MASTERRX,
}
Expand description
Possible values of the field I2SCFG
Variants§
SLAVETX
Slave - transmit
SLAVERX
Slave - receive
MASTERTX
Master - transmit
MASTERRX
Master - receive
Implementations§
Source§impl I2SCFGR
impl I2SCFGR
Sourcepub fn is_slave_tx(&self) -> bool
pub fn is_slave_tx(&self) -> bool
Checks if the value of the field is SLAVETX
Sourcepub fn is_slave_rx(&self) -> bool
pub fn is_slave_rx(&self) -> bool
Checks if the value of the field is SLAVERX
Sourcepub fn is_master_tx(&self) -> bool
pub fn is_master_tx(&self) -> bool
Checks if the value of the field is MASTERTX
Sourcepub fn is_master_rx(&self) -> bool
pub fn is_master_rx(&self) -> bool
Checks if the value of the field is MASTERRX
Trait Implementations§
impl Copy for I2SCFGR
impl StructuralPartialEq for I2SCFGR
Auto Trait Implementations§
impl Freeze for I2SCFGR
impl RefUnwindSafe for I2SCFGR
impl Send for I2SCFGR
impl Sync for I2SCFGR
impl Unpin for I2SCFGR
impl UnwindSafe for I2SCFGR
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