#[repr(transparent)]pub struct Pidr1(pub u32);
Expand description
Peripheral ID1 Register
Tuple Fields§
§0: u32
Implementations§
Source§impl Pidr1
impl Pidr1
Sourcepub const fn part_1(&self) -> Part1
pub const fn part_1(&self) -> Part1
Bits[11:8] of the 12-bit part number of the component. The designer of the component assigns this part number.
Sourcepub fn set_part_1(&mut self, val: Part1)
pub fn set_part_1(&mut self, val: Part1)
Bits[11:8] of the 12-bit part number of the component. The designer of the component assigns this part number.
Trait Implementations§
impl Copy for Pidr1
impl Eq for Pidr1
impl StructuralPartialEq for Pidr1
Auto Trait Implementations§
impl Freeze for Pidr1
impl RefUnwindSafe for Pidr1
impl Send for Pidr1
impl Sync for Pidr1
impl Unpin for Pidr1
impl UnwindSafe for Pidr1
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
)