#[repr(transparent)]pub struct Periphid2(pub u32);
Expand description
Peripheral identification registers, SSPPeriphID0-3 on page 3-13
Tuple Fields§
§0: u32
Implementations§
source§impl Periphid2
impl Periphid2
sourcepub fn set_designer1(&mut self, val: u8)
pub fn set_designer1(&mut self, val: u8)
These bits read back as 0x4
sourcepub fn set_revision(&mut self, val: u8)
pub fn set_revision(&mut self, val: u8)
These bits return the peripheral revision
Trait Implementations§
impl Copy for Periphid2
impl Eq for Periphid2
impl StructuralPartialEq for Periphid2
Auto Trait Implementations§
impl Freeze for Periphid2
impl RefUnwindSafe for Periphid2
impl Send for Periphid2
impl Sync for Periphid2
impl Unpin for Periphid2
impl UnwindSafe for Periphid2
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
)