Struct stm32wlxx_hal::pac::spi1::i2spr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register I2SPR
writer
Implementations§
§impl W
impl W
pub fn i2sdiv(
&mut self
) -> FieldWriterRaw<'_, u32, I2SPR_SPEC, u8, u8, Unsafe, 8, 0>
pub fn i2sdiv( &mut self ) -> FieldWriterRaw<'_, u32, I2SPR_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - I2SDIV
pub fn odd(&mut self) -> BitWriterRaw<'_, u32, I2SPR_SPEC, ODD_A, BitM, 8>
pub fn odd(&mut self) -> BitWriterRaw<'_, u32, I2SPR_SPEC, ODD_A, BitM, 8>
Bit 8 - ODD
pub fn mckoe(&mut self) -> BitWriterRaw<'_, u32, I2SPR_SPEC, MCKOE_A, BitM, 9>
pub fn mckoe(&mut self) -> BitWriterRaw<'_, u32, I2SPR_SPEC, MCKOE_A, BitM, 9>
Bit 9 - MCKOE
Methods from Deref<Target = W<I2SPR_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations§
§impl From<W<I2SPR_SPEC>> for W
impl From<W<I2SPR_SPEC>> for W
§fn from(writer: W<I2SPR_SPEC>) -> W
fn from(writer: W<I2SPR_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations§
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