#[repr(C)]pub struct RegisterBlock {
pub codepagesize: CODEPAGESIZE,
pub codesize: CODESIZE,
pub deviceid: [DEVICEID; 2],
pub er: [ER; 4],
pub ir: [IR; 4],
pub deviceaddrtype: DEVICEADDRTYPE,
pub deviceaddr: [DEVICEADDR; 2],
pub info: INFO,
pub prodtest: [PRODTEST; 3],
pub temp: TEMP,
pub nfc: NFC,
pub trng90b: TRNG90B,
/* private fields */
}Expand description
Register block
Fields§
§codepagesize: CODEPAGESIZE0x10 - Code memory page size
codesize: CODESIZE0x14 - Code memory size
deviceid: [DEVICEID; 2]0x60..0x68 - Description collection[n]: Device identifier
er: [ER; 4]0x80..0x90 - Description collection[n]: Encryption root, word n
ir: [IR; 4]0x90..0xa0 - Description collection[n]: Identity Root, word n
deviceaddrtype: DEVICEADDRTYPE0xa0 - Device address type
deviceaddr: [DEVICEADDR; 2]0xa4..0xac - Description collection[n]: Device address n
info: INFO0x100..0x120 - Device info
prodtest: [PRODTEST; 3]0x350..0x35c - Description collection[n]: Production test signature n
temp: TEMP0x404..0x448 - Registers storing factory TEMP module linearization coefficients
nfc: NFC0x450..0x460 - Unspecified
trng90b: TRNG90B0xc00..0xc20 - NIST800-90B RNG calibration data
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