#[repr(transparent)]pub struct Pidr2(pub u32);
Expand description
Peripheral ID2 Register
Tuple Fields§
§0: u32
Implementations§
Source§impl Pidr2
impl Pidr2
Sourcepub 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.
Sourcepub 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.
Sourcepub const fn jedec(&self) -> bool
pub const fn jedec(&self) -> bool
Always 1. Indicates that the JEDEC-assigned designer ID is used.
Sourcepub 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.
Sourcepub 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)