#[repr(C)]pub struct INFO {
pub deviceid: [DEVICEID; 2],
pub part: PART,
pub variant: VARIANT,
pub package: PACKAGE,
pub ram: RAM,
pub flash: FLASH,
pub codepagesize: CODEPAGESIZE,
pub codesize: CODESIZE,
pub devicetype: DEVICETYPE,
/* private fields */
}
Expand description
Register block
Fields§
§deviceid: [DEVICEID; 2]
0x04 - Description collection: Device identifier
part: PART
0x0c - Part code
variant: VARIANT
0x10 - Part Variant, Hardware version and Production configuration
package: PACKAGE
0x14 - Package option
ram: RAM
0x18 - RAM variant
flash: FLASH
0x1c - Flash variant
codepagesize: CODEPAGESIZE
0x20 - Code memory page size
codesize: CODESIZE
0x24 - Code memory size
devicetype: DEVICETYPE
0x28 - Device type
Auto Trait Implementations§
impl !Freeze for INFO
impl !RefUnwindSafe for INFO
impl Send for INFO
impl !Sync for INFO
impl Unpin for INFO
impl UnwindSafe for INFO
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