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