Struct Nsbootadd0r
#[repr(transparent)]pub struct Nsbootadd0r(pub u32);
Expand description
FLASH non-secure boot address 0 register
Tuple Fields§
§0: u32
Implementations§
§impl Nsbootadd0r
impl Nsbootadd0r
pub const fn nsbootadd0(&self) -> u32
pub const fn nsbootadd0(&self) -> u32
Non-secure boot base address 0 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: NSBOOTADD0[24:0] = 0x0100000: Boot from memory (0x0800 0000) NSBOOTADD0[24:0] = 0x017F100: Boot from system memory bootloader (0x0BF8 8000) NSBOOTADD0[24:0] = 0x0400200: Boot from SRAM2 on S-Bus (0x2001 0000)
pub fn set_nsbootadd0(&mut self, val: u32)
pub fn set_nsbootadd0(&mut self, val: u32)
Non-secure boot base address 0 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: NSBOOTADD0[24:0] = 0x0100000: Boot from memory (0x0800 0000) NSBOOTADD0[24:0] = 0x017F100: Boot from system memory bootloader (0x0BF8 8000) NSBOOTADD0[24:0] = 0x0400200: Boot from SRAM2 on S-Bus (0x2001 0000)
Trait Implementations§
§impl Clone for Nsbootadd0r
impl Clone for Nsbootadd0r
§fn clone(&self) -> Nsbootadd0r
fn clone(&self) -> Nsbootadd0r
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more