[−]Struct stm32f407g_disc::sai1::sai_bcr1::W
Value to write to the register
Methods
impl W
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut W
Writes raw bits to the register
pub fn mode(&mut self) -> _MODEW
Bits 0:1 - Audio block mode
pub fn prtcfg(&mut self) -> _PRTCFGW
Bits 2:3 - Protocol configuration
pub fn ds(&mut self) -> _DSW
Bits 5:7 - Data size
pub fn lsbfirst(&mut self) -> _LSBFIRSTW
Bit 8 - Least significant bit first
pub fn ckstr(&mut self) -> _CKSTRW
Bit 9 - Clock strobing edge
pub fn syncen(&mut self) -> _SYNCENW
Bits 10:11 - Synchronization enable
pub fn mono(&mut self) -> _MONOW
Bit 12 - Mono mode
pub fn outdriv(&mut self) -> _OUTDRIVW
Bit 13 - Output drive
pub fn saiben(&mut self) -> _SAIBENW
Bit 16 - Audio block enable
pub fn dmaen(&mut self) -> _DMAENW
Bit 17 - DMA enable
pub fn nodiv(&mut self) -> _NODIVW
Bit 19 - No divider
pub fn mckdiv(&mut self) -> _MCKDIVW
Bits 20:23 - Master clock divider
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom 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> TryInto 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, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut 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,