Struct stm32wlxx_hal::pac::gpioc::ospeedr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register OSPEEDR
writer
Implementations§
§impl W
impl W
pub fn ospeedr15(
&mut self
) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 30>
pub fn ospeedr15( &mut self ) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 30>
Bits 30:31 - Port x configuration bits (y = 0..15)
pub fn ospeedr14(
&mut self
) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 28>
pub fn ospeedr14( &mut self ) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 28>
Bits 28:29 - Port x configuration bits (y = 0..15)
pub fn ospeedr13(
&mut self
) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 26>
pub fn ospeedr13( &mut self ) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 26>
Bits 26:27 - Port x configuration bits (y = 0..15)
pub fn ospeedr6(
&mut self
) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 12>
pub fn ospeedr6( &mut self ) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 12>
Bits 12:13 - Port x configuration bits (y = 0..15)
pub fn ospeedr5(
&mut self
) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 10>
pub fn ospeedr5( &mut self ) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 10>
Bits 10:11 - Port x configuration bits (y = 0..15)
pub fn ospeedr4(
&mut self
) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 8>
pub fn ospeedr4( &mut self ) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 8>
Bits 8:9 - Port x configuration bits (y = 0..15)
pub fn ospeedr3(
&mut self
) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 6>
pub fn ospeedr3( &mut self ) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 6>
Bits 6:7 - Port x configuration bits (y = 0..15)
pub fn ospeedr2(
&mut self
) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 4>
pub fn ospeedr2( &mut self ) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 4>
Bits 4:5 - Port x configuration bits (y = 0..15)
pub fn ospeedr1(
&mut self
) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 2>
pub fn ospeedr1( &mut self ) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 2>
Bits 2:3 - Port x configuration bits (y = 0..15)
pub fn ospeedr0(
&mut self
) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 0>
pub fn ospeedr0( &mut self ) -> FieldWriterRaw<'_, u32, OSPEEDR_SPEC, u8, OSPEEDR0_A, Safe, 2, 0>
Bits 0:1 - Port x configuration bits (y = 0..15)
Methods from Deref<Target = W<OSPEEDR_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<OSPEEDR_SPEC>> for W
impl From<W<OSPEEDR_SPEC>> for W
§fn from(writer: W<OSPEEDR_SPEC>) -> W
fn from(writer: W<OSPEEDR_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