[−][src]Struct stm32g0::stm32g0x1::spi1::i2scfgr::W
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
pub fn chlen(&mut self) -> _CHLENW
[src]
Bit 0 - Channel length (number of bits per audio channel)
pub fn datlen(&mut self) -> _DATLENW
[src]
Bits 1:2 - Data length to be transferred
pub fn ckpol(&mut self) -> _CKPOLW
[src]
Bit 3 - Inactive state clock polarity
pub fn i2sstd(&mut self) -> _I2SSTDW
[src]
Bits 4:5 - standard selection
pub fn pcmsync(&mut self) -> _PCMSYNCW
[src]
Bit 7 - PCM frame synchronization
pub fn i2scfg(&mut self) -> _I2SCFGW
[src]
Bits 8:9 - I2S configuration mode
pub fn se2(&mut self) -> _SE2W
[src]
Bit 10 - I2S enable
pub fn i2smod(&mut self) -> _I2SMODW
[src]
Bit 11 - I2S mode selection
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self