Struct stm32wlxx_hal::pac::flash::sfr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register SFR
writer
Implementations§
§impl W
impl W
pub fn sfsa(&mut self) -> FieldWriterRaw<'_, u32, SFR_SPEC, u8, u8, Safe, 7, 0>
pub fn sfsa(&mut self) -> FieldWriterRaw<'_, u32, SFR_SPEC, u8, u8, Safe, 7, 0>
Bits 0:6 - Secure Flash start address
pub fn fsd(&mut self) -> BitWriterRaw<'_, u32, SFR_SPEC, FSD_A, BitM, 7>
pub fn fsd(&mut self) -> BitWriterRaw<'_, u32, SFR_SPEC, FSD_A, BitM, 7>
Bit 7 - Flash security disabled
pub fn hdpsa(
&mut self
) -> FieldWriterRaw<'_, u32, SFR_SPEC, u8, u8, Safe, 7, 16>
pub fn hdpsa( &mut self ) -> FieldWriterRaw<'_, u32, SFR_SPEC, u8, u8, Safe, 7, 16>
Bits 16:22 - User Flash hide protection area start address
pub fn hdpad(&mut self) -> BitWriterRaw<'_, u32, SFR_SPEC, HDPAD_A, BitM, 23>
pub fn hdpad(&mut self) -> BitWriterRaw<'_, u32, SFR_SPEC, HDPAD_A, BitM, 23>
Bit 23 - User Flash hide protection area disabled
pub fn subghspisd(
&mut self
) -> BitWriterRaw<'_, u32, SFR_SPEC, SUBGHSPISD_A, BitM, 31>
pub fn subghspisd( &mut self ) -> BitWriterRaw<'_, u32, SFR_SPEC, SUBGHSPISD_A, BitM, 31>
Bit 31 - sub-GHz radio SPI security disable
Methods from Deref<Target = W<SFR_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§
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