Struct stm32wlxx_hal::pac::gpiob::pupdr::W
pub struct W(/* private fields */);
stm32wl5x_cm4
only.Expand description
Register PUPDR
writer
Implementations§
§impl W
impl W
pub fn pupdr15(
&mut self
) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 30>
pub fn pupdr15( &mut self ) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 30>
Bits 30:31 - Port x configuration bits (y = 0..15)
pub fn pupdr14(
&mut self
) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 28>
pub fn pupdr14( &mut self ) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 28>
Bits 28:29 - Port x configuration bits (y = 0..15)
pub fn pupdr13(
&mut self
) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 26>
pub fn pupdr13( &mut self ) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 26>
Bits 26:27 - Port x configuration bits (y = 0..15)
pub fn pupdr12(
&mut self
) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 24>
pub fn pupdr12( &mut self ) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 24>
Bits 24:25 - Port x configuration bits (y = 0..15)
pub fn pupdr11(
&mut self
) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 22>
pub fn pupdr11( &mut self ) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 22>
Bits 22:23 - Port x configuration bits (y = 0..15)
pub fn pupdr10(
&mut self
) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 20>
pub fn pupdr10( &mut self ) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 20>
Bits 20:21 - Port x configuration bits (y = 0..15)
pub fn pupdr9(
&mut self
) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 18>
pub fn pupdr9( &mut self ) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 18>
Bits 18:19 - Port x configuration bits (y = 0..15)
pub fn pupdr8(
&mut self
) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 16>
pub fn pupdr8( &mut self ) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 16>
Bits 16:17 - Port x configuration bits (y = 0..15)
pub fn pupdr7(
&mut self
) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 14>
pub fn pupdr7( &mut self ) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 14>
Bits 14:15 - Port x configuration bits (y = 0..15)
pub fn pupdr6(
&mut self
) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 12>
pub fn pupdr6( &mut self ) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 12>
Bits 12:13 - Port x configuration bits (y = 0..15)
pub fn pupdr5(
&mut self
) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 10>
pub fn pupdr5( &mut self ) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 10>
Bits 10:11 - Port x configuration bits (y = 0..15)
pub fn pupdr4(
&mut self
) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 8>
pub fn pupdr4( &mut self ) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 8>
Bits 8:9 - Port x configuration bits (y = 0..15)
pub fn pupdr3(
&mut self
) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 6>
pub fn pupdr3( &mut self ) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 6>
Bits 6:7 - Port x configuration bits (y = 0..15)
pub fn pupdr2(
&mut self
) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 4>
pub fn pupdr2( &mut self ) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 4>
Bits 4:5 - Port x configuration bits (y = 0..15)
pub fn pupdr1(
&mut self
) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 2>
pub fn pupdr1( &mut self ) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 2>
Bits 2:3 - Port x configuration bits (y = 0..15)
pub fn pupdr0(
&mut self
) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 0>
pub fn pupdr0( &mut self ) -> FieldWriterRaw<'_, u32, PUPDR_SPEC, u8, PUPDR0_A, Unsafe, 2, 0>
Bits 0:1 - Port x configuration bits (y = 0..15)
Methods from Deref<Target = W<PUPDR_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.