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