Struct stm32wlxx_hal::pac::syscfg::swpr::W
pub struct W(/* private fields */);
stm32wl5x_cm4
only.Expand description
Register SWPR
writer
Implementations§
§impl W
impl W
pub fn p31wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 31>
pub fn p31wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 31>
Bit 31 - SRAM2 1Kbyte page 31 write protection
pub fn p30wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 30>
pub fn p30wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 30>
Bit 30 - SRAM2 1Kbyte page 30 write protection
pub fn p29wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 29>
pub fn p29wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 29>
Bit 29 - SRAM2 1Kbyte page 29 write protection
pub fn p28wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 28>
pub fn p28wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 28>
Bit 28 - SRAM2 1Kbyte page 28 write protection
pub fn p27wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 27>
pub fn p27wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 27>
Bit 27 - SRAM2 1Kbyte page 27 write protection
pub fn p26wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 26>
pub fn p26wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 26>
Bit 26 - SRAM2 1Kbyte page 26 write protection
pub fn p25wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 25>
pub fn p25wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 25>
Bit 25 - SRAM2 1Kbyte page 25 write protection
pub fn p24wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 24>
pub fn p24wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 24>
Bit 24 - SRAM2 1Kbyte page 24 write protection
pub fn p23wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 23>
pub fn p23wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 23>
Bit 23 - SRAM2 1Kbyte page 23 write protection
pub fn p22wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 22>
pub fn p22wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 22>
Bit 22 - SRAM2 1Kbyte page 22 write protection
pub fn p21wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 21>
pub fn p21wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 21>
Bit 21 - SRAM2 1Kbyte page 21 write protection
pub fn p20wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 20>
pub fn p20wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 20>
Bit 20 - SRAM2 1Kbyte page 20 write protection
pub fn p19wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 19>
pub fn p19wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 19>
Bit 19 - SRAM2 1Kbyte page 19 write protection
pub fn p18wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 18>
pub fn p18wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 18>
Bit 18 - SRAM2 1Kbyte page 18 write protection
pub fn p17wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 17>
pub fn p17wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 17>
Bit 17 - SRAM2 1Kbyte page 17 write protection
pub fn p16wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 16>
pub fn p16wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 16>
Bit 16 - SRAM2 1Kbyte page 16 write protection
pub fn p15wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 15>
pub fn p15wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 15>
Bit 15 - SRAM2 1Kbyte page 15 write protection
pub fn p14wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 14>
pub fn p14wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 14>
Bit 14 - SRAM2 1Kbyte page 14 write protection
pub fn p13wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 13>
pub fn p13wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 13>
Bit 13 - SRAM2 1Kbyte page 13 write protection
pub fn p12wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 12>
pub fn p12wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 12>
Bit 12 - SRAM2 1Kbyte page 12 write protection
pub fn p11wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 11>
pub fn p11wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 11>
Bit 11 - SRAM2 1Kbyte page 11 write protection
pub fn p10wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 10>
pub fn p10wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P10WP_A, BitM, 10>
Bit 10 - SRAM2 1Kbyte page 10 write protection
pub fn p9wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 9>
pub fn p9wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 9>
Bit 9 - SRAM2 1Kbyte page 9 write protection
pub fn p8wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 8>
pub fn p8wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 8>
Bit 8 - SRAM2 1Kbyte page 8 write protection
pub fn p7wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 7>
pub fn p7wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 7>
Bit 7 - SRAM2 1Kbyte page 7 write protection
pub fn p6wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 6>
pub fn p6wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 6>
Bit 6 - SRAM2 1Kbyte page 6 write protection
pub fn p5wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 5>
pub fn p5wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 5>
Bit 5 - SRAM2 1Kbyte page 5 write protection
pub fn p4wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 4>
pub fn p4wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 4>
Bit 4 - SRAM2 1Kbyte page 4 write protection
pub fn p3wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 3>
pub fn p3wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 3>
Bit 3 - SRAM2 1Kbyte page 3 write protection
pub fn p2wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 2>
pub fn p2wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 2>
Bit 2 - SRAM2 1Kbyte page 2 write protection
pub fn p1wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 1>
pub fn p1wp(&mut self) -> BitWriterRaw<'_, u32, SWPR_SPEC, P0WP_A, BitM, 1>
Bit 1 - SRAM2 1Kbyte page 1 write protection
Methods from Deref<Target = W<SWPR_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.