pub struct RegisterBlock {
    pub codepagesize: Reg<CODEPAGESIZE_SPEC>,
    pub codesize: Reg<CODESIZE_SPEC>,
    pub deviceid: [Reg<DEVICEID_SPEC>; 2],
    pub er: [Reg<ER_SPEC>; 4],
    pub ir: [Reg<IR_SPEC>; 4],
    pub deviceaddrtype: Reg<DEVICEADDRTYPE_SPEC>,
    pub deviceaddr: [Reg<DEVICEADDR_SPEC>; 2],
    pub info: INFO,
    pub temp: TEMP,
    pub nfc: NFC,
    /* private fields */
}
Expand description

Register block

Fields

codepagesize: Reg<CODEPAGESIZE_SPEC>

0x10 - Code memory page size

codesize: Reg<CODESIZE_SPEC>

0x14 - Code memory size

deviceid: [Reg<DEVICEID_SPEC>; 2]

0x60..0x68 - Description collection[0]: Device identifier

er: [Reg<ER_SPEC>; 4]

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

ir: [Reg<IR_SPEC>; 4]

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

deviceaddrtype: Reg<DEVICEADDRTYPE_SPEC>

0xa0 - Device address type

deviceaddr: [Reg<DEVICEADDR_SPEC>; 2]

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

info: INFO

0x100..0x120 - Device info

temp: TEMP

0x404..0x448 - Registers storing factory TEMP module linearization coefficients

nfc: NFC

0x450..0x460 - Unspecified

Auto Trait Implementations

Blanket Implementations

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

Returns the argument unchanged.

Calls U::from(self).

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

Performs the conversion.
Performs the conversion.
Casts the value.
Casts the value.
Should always be Self
Casts the value.
Casts the value.
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.
Casts the value.
Casts the value.
Casts the value.
Casts the value.