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: Isstd)
pub fn set_i2sstd(&mut self, val: Isstd)
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: Iscfg)
pub fn set_i2scfg(&mut self, val: Iscfg)
I2S configuration mode
pub fn set_i2smod(&mut self, val: Ismod)
pub fn set_i2smod(&mut self, val: Ismod)
I2S mode selection
pub fn set_astrten(&mut self, val: bool)
pub fn set_astrten(&mut self, val: bool)
Asynchronous start enable
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)