Struct Pidr2
#[repr(transparent)]pub struct Pidr2(pub u32);
Expand description
Peripheral ID2 Register
Tuple Fields§
§0: u32
Implementations§
§impl Pidr2
impl Pidr2
pub const fn des_1(&self) -> Des1
pub const fn des_1(&self) -> Des1
Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the component.
pub fn set_des_1(&mut self, val: Des1)
pub fn set_des_1(&mut self, val: Des1)
Together, PIDR1.DES_0, PIDR2.DES_1, and PIDR4.DES_2 identify the designer of the component.
pub fn set_jedec(&mut self, val: bool)
pub fn set_jedec(&mut self, val: bool)
Always 1. Indicates that the JEDEC-assigned designer ID is used.
pub fn set_revision(&mut self, val: Revision)
pub fn set_revision(&mut self, val: Revision)
Peripheral revision
Trait Implementations§
impl Copy for Pidr2
impl Eq for Pidr2
impl StructuralPartialEq for Pidr2
Auto Trait Implementations§
impl Freeze for Pidr2
impl RefUnwindSafe for Pidr2
impl Send for Pidr2
impl Sync for Pidr2
impl Unpin for Pidr2
impl UnwindSafe for Pidr2
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