Struct stm32wlxx_hal::pac::flash::srrvr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register SRRVR
writer
Implementations§
§impl W
impl W
pub fn sbrv(
&mut self
) -> FieldWriterRaw<'_, u32, SRRVR_SPEC, u16, u16, Safe, 16, 0>
pub fn sbrv( &mut self ) -> FieldWriterRaw<'_, u32, SRRVR_SPEC, u16, u16, Safe, 16, 0>
Bits 0:15 - CPU2 boot reset vector
pub fn sbrsa(
&mut self
) -> FieldWriterRaw<'_, u32, SRRVR_SPEC, u8, u8, Safe, 5, 18>
pub fn sbrsa( &mut self ) -> FieldWriterRaw<'_, u32, SRRVR_SPEC, u8, u8, Safe, 5, 18>
Bits 18:22 - Secure backup SRAM2 start address
pub fn brsd(&mut self) -> BitWriterRaw<'_, u32, SRRVR_SPEC, BRSD_A, BitM, 23>
pub fn brsd(&mut self) -> BitWriterRaw<'_, u32, SRRVR_SPEC, BRSD_A, BitM, 23>
Bit 23 - backup SRAM2 security disable
pub fn snbrsa(
&mut self
) -> FieldWriterRaw<'_, u32, SRRVR_SPEC, u8, u8, Safe, 5, 25>
pub fn snbrsa( &mut self ) -> FieldWriterRaw<'_, u32, SRRVR_SPEC, u8, u8, Safe, 5, 25>
Bits 25:29 - Secure non-backup SRAM1 start address
pub fn nbrsd(&mut self) -> BitWriterRaw<'_, u32, SRRVR_SPEC, NBRSD_A, BitM, 30>
pub fn nbrsd(&mut self) -> BitWriterRaw<'_, u32, SRRVR_SPEC, NBRSD_A, BitM, 30>
Bit 30 - NBRSD
pub fn c2opt(&mut self) -> BitWriterRaw<'_, u32, SRRVR_SPEC, C2OPT_A, BitM, 31>
pub fn c2opt(&mut self) -> BitWriterRaw<'_, u32, SRRVR_SPEC, C2OPT_A, BitM, 31>
Bit 31 - C2OPT
Methods from Deref<Target = W<SRRVR_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<SRRVR_SPEC>> for W
impl From<W<SRRVR_SPEC>> for W
§fn from(writer: W<SRRVR_SPEC>) -> W
fn from(writer: W<SRRVR_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