Struct stm32_metapac::spi::regs::I2scfgr
#[repr(transparent)]pub struct I2scfgr(pub u32);
Expand description
I2S configuration register
Tuple Fields§
§0: u32
Implementations§
§impl I2scfgr
impl I2scfgr
pub fn set_datlen(&mut self, val: Datlen)
pub fn set_datlen(&mut self, val: Datlen)
Data length to be transferred
pub fn set_i2sstd(&mut self, val: I2sstd)
pub fn set_i2sstd(&mut self, val: I2sstd)
I2S standard selection
pub fn set_pcmsync(&mut self, val: Pcmsync)
pub fn set_pcmsync(&mut self, val: Pcmsync)
PCM frame synchronization
pub fn set_i2scfg(&mut self, val: I2scfg)
pub fn set_i2scfg(&mut self, val: I2scfg)
I2S configuration mode
pub fn set_i2smod(&mut self, val: bool)
pub fn set_i2smod(&mut self, val: bool)
I2S mode selection
Trait Implementations§
impl Copy for I2scfgr
impl Eq 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