#[repr(transparent)]pub struct Pid(pub u32);Expand description
Peripheral identification register.
Tuple Fields§
§0: u32Implementations§
Source§impl Pid
impl Pid
Sourcepub const fn set_minor_rev(&mut self, val: u8)
pub const fn set_minor_rev(&mut self, val: u8)
Minor revision of module implementation.
Sourcepub const fn set_major_rev(&mut self, val: u8)
pub const fn set_major_rev(&mut self, val: u8)
Major revision of module implementation.
Trait Implementations§
impl Copy for Pid
impl Eq for Pid
impl StructuralPartialEq for Pid
Auto Trait Implementations§
impl Freeze for Pid
impl RefUnwindSafe for Pid
impl Send for Pid
impl Sync for Pid
impl Unpin for Pid
impl UnwindSafe for Pid
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