#[repr(C)]pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn nsbootadd0r(&self) -> &NSBOOTADD0R
pub const fn nsbootadd0r(&self) -> &NSBOOTADD0R
0x44 - Flash non-secure boot address 0 register
Sourcepub const fn nsbootadd1r(&self) -> &NSBOOTADD1R
pub const fn nsbootadd1r(&self) -> &NSBOOTADD1R
0x48 - Flash non-secure boot address 1 register
Sourcepub const fn secbootadd0r(&self) -> &SECBOOTADD0R
pub const fn secbootadd0r(&self) -> &SECBOOTADD0R
0x4c - FFlash secure boot address 0 register
Sourcepub const fn secbb1r(&self, n: usize) -> &SECBB1R
pub const fn secbb1r(&self, n: usize) -> &SECBB1R
0x80..0x90 - FLASH secure block based bank 1
`n` is the index of register in the array. `n == 0` corresponds to `SECBB1R1` register.
Sourcepub fn secbb1r_iter(&self) -> impl Iterator<Item = &SECBB1R>
pub fn secbb1r_iter(&self) -> impl Iterator<Item = &SECBB1R>
Iterator for array of: 0x80..0x90 - FLASH secure block based bank 1
Sourcepub const fn secbb2r(&self, n: usize) -> &SECBB2R
pub const fn secbb2r(&self, n: usize) -> &SECBB2R
0xa0..0xb0 - FLASH secure block based bank 2
`n` is the index of register in the array. `n == 0` corresponds to `SECBB2R1` register.
Sourcepub fn secbb2r_iter(&self) -> impl Iterator<Item = &SECBB2R>
pub fn secbb2r_iter(&self) -> impl Iterator<Item = &SECBB2R>
Iterator for array of: 0xa0..0xb0 - FLASH secure block based bank 2
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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