Struct stm32_metapac::dbgmcu::regs::Pidr1
#[repr(transparent)]pub struct Pidr1(pub u32);
Expand description
CoreSight peripheral identity register 1
Tuple Fields§
§0: u32
Implementations§
§impl Pidr1
impl Pidr1
pub fn set_partnum(&mut self, val: u8)
pub fn set_partnum(&mut self, val: u8)
Part number bits [11:8]
pub fn set_jep106id(&mut self, val: u8)
pub fn set_jep106id(&mut self, val: u8)
JEP106 identity code bits [3:0]
Trait Implementations§
impl Copy for Pidr1
impl Eq for Pidr1
impl StructuralPartialEq for Pidr1
Auto Trait Implementations§
impl Freeze for Pidr1
impl RefUnwindSafe for Pidr1
impl Send for Pidr1
impl Sync for Pidr1
impl Unpin for Pidr1
impl UnwindSafe for Pidr1
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
)