[−][src]Struct gd32vf103_pac::spi0::i2sctl::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: u16) -> &mut Self
[src]
Writes raw bits to the register
pub fn i2ssel(&mut self) -> _I2SSELW
[src]
Bit 11 - I2S mode selection
pub fn i2sen(&mut self) -> _I2SENW
[src]
Bit 10 - I2S Enable
pub fn i2sopmod(&mut self) -> _I2SOPMODW
[src]
Bits 8:9 - I2S operation mode
pub fn pcmsmod(&mut self) -> _PCMSMODW
[src]
Bit 7 - PCM frame synchronization mode
pub fn i2sstd(&mut self) -> _I2SSTDW
[src]
Bits 4:5 - I2S standard selection
pub fn ckpl(&mut self) -> _CKPLW
[src]
Bit 3 - Idle state clock polarity
pub fn dtlen(&mut self) -> _DTLENW
[src]
Bits 1:2 - Data length
pub fn chlen(&mut self) -> _CHLENW
[src]
Bit 0 - Channel length (number of bits per audio channel)
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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,