Struct RegisterBlock
Source pub struct RegisterBlock {Show 17 fields
pub fstat: FSTAT,
pub fcnfg: FCNFG,
pub fsec: FSEC,
pub fccob: [FCCOB; 12],
pub fopt: [FOPT; 4],
pub fprot: [FPROT; 8],
pub fprots: [FPROTS; 2],
pub facss: FACSS,
pub facsn: FACSN,
pub facsss: FACSSS,
pub facsns: FACSNS,
pub xacc: [XACC; 8],
pub sacc: [SACC; 8],
pub xaccs: [XACCS; 2],
pub saccs: [SACCS; 2],
pub fstdbyctl: FSTDBYCTL,
pub fstdby: FSTDBY,
}
Expand description
0x00 - Flash Status Register
0x01 - Flash Configuration Register
0x02 - Flash Security Register
0x04..0x10 - Flash Common Command Object Registers
0x10 - Flash Option Registers
0x18..0x20 - Primary Program Flash Protection Registers
0x24 - Secondary Program Flash Protection Registers
0x2c - Primary Flash Access Segment Size Register
0x2d - Primary Flash Access Segment Number Register
0x2e - Secondary Flash Access Segment Size Register
0x2f - Secondary Flash Access Segment Number Register
0x30..0x38 - Primary Execute-only Access Registers
0x38..0x40 - Primary Supervisor-only Access Registers
0x44 - Secondary Execute-only Access Registers
0x4c - Secondary Supervisor-only Access Registers
0x52 - Flash Standby Control Register
0x53 - Flash Standby Register
0x04 - Flash Common Command Object Registers
0x05 - Flash Common Command Object Registers
0x06 - Flash Common Command Object Registers
0x07 - Flash Common Command Object Registers
0x08 - Flash Common Command Object Registers
0x09 - Flash Common Command Object Registers
0x0a - Flash Common Command Object Registers
0x0b - Flash Common Command Object Registers
0x0c - Flash Common Command Object Registers
0x0d - Flash Common Command Object Registers
0x0e - Flash Common Command Object Registers
0x0f - Flash Common Command Object Registers
0x10 - Flash Option Registers
0x11 - Flash Option Registers
0x12 - Flash Option Registers
0x13 - Flash Option Registers
0x18 - Primary Program Flash Protection Registers
0x19 - Primary Program Flash Protection Registers
0x1a - Primary Program Flash Protection Registers
0x1b - Primary Program Flash Protection Registers
0x1c - Primary Program Flash Protection Registers
0x1d - Primary Program Flash Protection Registers
0x1e - Primary Program Flash Protection Registers
0x1f - Primary Program Flash Protection Registers
0x24 - Secondary Program Flash Protection Registers
0x25 - Secondary Program Flash Protection Registers
0x30 - Primary Execute-only Access Registers
0x31 - Primary Execute-only Access Registers
0x32 - Primary Execute-only Access Registers
0x33 - Primary Execute-only Access Registers
0x34 - Primary Execute-only Access Registers
0x35 - Primary Execute-only Access Registers
0x36 - Primary Execute-only Access Registers
0x37 - Primary Execute-only Access Registers
0x38 - Primary Supervisor-only Access Registers
0x39 - Primary Supervisor-only Access Registers
0x3a - Primary Supervisor-only Access Registers
0x3b - Primary Supervisor-only Access Registers
0x3c - Primary Supervisor-only Access Registers
0x3d - Primary Supervisor-only Access Registers
0x3e - Primary Supervisor-only Access Registers
0x3f - Primary Supervisor-only Access Registers
0x44 - Secondary Execute-only Access Registers
0x45 - Secondary Execute-only Access Registers
0x4c - Secondary Supervisor-only Access Registers
0x4d - Secondary Supervisor-only Access Registers
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.
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.