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