Struct stm32_metapac::flash::regs::Nsbootadd1r
#[repr(transparent)]pub struct Nsbootadd1r(pub u32);
Expand description
boot address 1 register
Tuple Fields§
§0: u32
Implementations§
§impl Nsbootadd1r
impl Nsbootadd1r
pub const fn nsbootadd1(&self) -> u32
pub const fn nsbootadd1(&self) -> u32
Non-secure boot address 1 This address is only used when TZEN = 0. The non-secure boot memory address can be programmed to any address in the valid address range (see Table 28: Boot space versus RDP protection) with a granularity of 128 bytes. These bits correspond to address [31:7]. The NSBOOTADD0 option bytes are selected following the BOOT0 pin or NSWBOOT0 state. Examples: NSBOOTADD1[24:0] = 0x0100000: Boot from memory (0x0800 0000) NSBOOTADD1[24:0] = 0x017F100: Boot from system memory bootloader (0x0BF8 8000) NSBOOTADD1[24:0] = 0x0400200: Boot from SRAM2 (0x2001 0000)
pub fn set_nsbootadd1(&mut self, val: u32)
pub fn set_nsbootadd1(&mut self, val: u32)
Non-secure boot address 1 This address is only used when TZEN = 0. The non-secure boot memory address can be programmed to any address in the valid address range (see Table 28: Boot space versus RDP protection) with a granularity of 128 bytes. These bits correspond to address [31:7]. The NSBOOTADD0 option bytes are selected following the BOOT0 pin or NSWBOOT0 state. Examples: NSBOOTADD1[24:0] = 0x0100000: Boot from memory (0x0800 0000) NSBOOTADD1[24:0] = 0x017F100: Boot from system memory bootloader (0x0BF8 8000) NSBOOTADD1[24:0] = 0x0400200: Boot from SRAM2 (0x2001 0000)
Trait Implementations§
§impl Clone for Nsbootadd1r
impl Clone for Nsbootadd1r
§fn clone(&self) -> Nsbootadd1r
fn clone(&self) -> Nsbootadd1r
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Default for Nsbootadd1r
impl Default for Nsbootadd1r
§fn default() -> Nsbootadd1r
fn default() -> Nsbootadd1r
§impl PartialEq for Nsbootadd1r
impl PartialEq for Nsbootadd1r
impl Copy for Nsbootadd1r
impl Eq for Nsbootadd1r
impl StructuralPartialEq for Nsbootadd1r
Auto Trait Implementations§
impl Freeze for Nsbootadd1r
impl RefUnwindSafe for Nsbootadd1r
impl Send for Nsbootadd1r
impl Sync for Nsbootadd1r
impl Unpin for Nsbootadd1r
impl UnwindSafe for Nsbootadd1r
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)