Struct Pidr1
#[repr(transparent)]pub struct Pidr1(pub u32);
Expand description
Peripheral ID1 Register
Tuple Fields§
§0: u32
Implementations§
§impl Pidr1
impl Pidr1
pub 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.
pub 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