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 temp: TEMP,
    pub nfc: NFC,
    /* private fields */
}
Expand description

Register block

Fields

codepagesize: CODEPAGESIZE

0x10 - Code memory page size

codesize: CODESIZE

0x14 - Code memory size

deviceid: [DEVICEID; 2]

0x60 - Description collection[0]: Device identifier

er: [ER; 4]

0x80 - Description collection[0]: Encryption Root, word 0

ir: [IR; 4]

0x90 - Description collection[0]: Identity Root, word 0

deviceaddrtype: DEVICEADDRTYPE

0xa0 - Device address type

deviceaddr: [DEVICEADDR; 2]

0xa4 - Description collection[0]: Device address 0

info: INFO

0x100 - Device info

temp: TEMP

0x404 - Registers storing factory TEMP module linearization coefficients

nfc: NFC

0x450 - Unspecified

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.