Struct Periphid2
#[repr(transparent)]pub struct Periphid2(pub u32);Expand description
Peripheral ID2 Register
Tuple Fields§
§0: u32Implementations§
§impl Periphid2
impl Periphid2
pub const fn des_1(&self) -> u8
pub const fn des_1(&self) -> u8
Bits 6:4 of the JEDEC identity code indicating the designer of the component (along with the continuation code)
pub const fn set_des_1(&mut self, val: u8)
pub const fn set_des_1(&mut self, val: u8)
Bits 6:4 of the JEDEC identity code indicating the designer of the component (along with the continuation code)
pub const fn set_jedec(&mut self, val: bool)
pub const fn set_jedec(&mut self, val: bool)
Always set. Indicates that a JEDEC assigned value is used
pub const fn revision(&self) -> u8
pub const fn revision(&self) -> u8
The Revision field is an incremental value starting at 0x0 for the first design of this component. This only increases by 1 for both major and minor revisions and is simply used as a look-up to establish the exact major/minor revision.
pub const fn set_revision(&mut self, val: u8)
pub const fn set_revision(&mut self, val: u8)
The Revision field is an incremental value starting at 0x0 for the first design of this component. This only increases by 1 for both major and minor revisions and is simply used as a look-up to establish the exact major/minor revision.