Struct nrf51_pac::uicr::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub clenr0: CLENR0,
pub rbpconf: RBPCONF,
pub xtalfreq: XTALFREQ,
pub fwid: FWID,
pub nrfhw: [NRFHW; 12],
pub customer: [CUSTOMER; 32],
/* private fields */
}
Expand description
Register block
Fields
clenr0: CLENR0
0x00 - Length of code region 0.
rbpconf: RBPCONF
0x04 - Readback protection configuration.
xtalfreq: XTALFREQ
0x08 - Reset value for CLOCK XTALFREQ register.
fwid: FWID
0x10 - Firmware ID.
nrfhw: [NRFHW; 12]
0x50..0x80 - Reserved for Nordic hardware design.
customer: [CUSTOMER; 32]
0x80..0x100 - Reserved for customer.
Implementations
sourceimpl RegisterBlock
impl RegisterBlock
sourcepub fn bootloaderaddr(&self) -> &BOOTLOADERADDR
pub fn bootloaderaddr(&self) -> &BOOTLOADERADDR
0x14 - Bootloader start address.
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more