Struct stm32wlxx_hal::pac::i2c1::timingr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register TIMINGR
writer
Implementations§
§impl W
impl W
pub fn scll(
&mut self
) -> FieldWriterRaw<'_, u32, TIMINGR_SPEC, u8, u8, Safe, 8, 0>
pub fn scll( &mut self ) -> FieldWriterRaw<'_, u32, TIMINGR_SPEC, u8, u8, Safe, 8, 0>
Bits 0:7 - SCL low period (master mode)
pub fn sclh(
&mut self
) -> FieldWriterRaw<'_, u32, TIMINGR_SPEC, u8, u8, Safe, 8, 8>
pub fn sclh( &mut self ) -> FieldWriterRaw<'_, u32, TIMINGR_SPEC, u8, u8, Safe, 8, 8>
Bits 8:15 - SCL high period (master mode)
pub fn sdadel(
&mut self
) -> FieldWriterRaw<'_, u32, TIMINGR_SPEC, u8, u8, Safe, 4, 16>
pub fn sdadel( &mut self ) -> FieldWriterRaw<'_, u32, TIMINGR_SPEC, u8, u8, Safe, 4, 16>
Bits 16:19 - Data hold time
pub fn scldel(
&mut self
) -> FieldWriterRaw<'_, u32, TIMINGR_SPEC, u8, u8, Safe, 4, 20>
pub fn scldel( &mut self ) -> FieldWriterRaw<'_, u32, TIMINGR_SPEC, u8, u8, Safe, 4, 20>
Bits 20:23 - Data setup time
pub fn presc(
&mut self
) -> FieldWriterRaw<'_, u32, TIMINGR_SPEC, u8, u8, Safe, 4, 28>
pub fn presc( &mut self ) -> FieldWriterRaw<'_, u32, TIMINGR_SPEC, u8, u8, Safe, 4, 28>
Bits 28:31 - Timing prescaler
Methods from Deref<Target = W<TIMINGR_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<TIMINGR_SPEC>> for W
impl From<W<TIMINGR_SPEC>> for W
§fn from(writer: W<TIMINGR_SPEC>) -> W
fn from(writer: W<TIMINGR_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