Struct stm32_metapac::dbgmcu::regs::Pidr2
#[repr(transparent)]pub struct Pidr2(pub u32);
Expand description
DBGMCU CoreSight peripheral identity register 2.
Tuple Fields§
§0: u32
Implementations§
§impl Pidr2
impl Pidr2
pub fn set_jep106id(&mut self, val: u8)
pub fn set_jep106id(&mut self, val: u8)
JEP106 identity code bits [6:4].
pub fn set_revision(&mut self, val: u8)
pub fn set_revision(&mut self, val: u8)
component revision number.
Trait Implementations§
impl Copy for Pidr2
impl Eq for Pidr2
impl StructuralPartialEq for Pidr2
Auto Trait Implementations§
impl Freeze for Pidr2
impl RefUnwindSafe for Pidr2
impl Send for Pidr2
impl Sync for Pidr2
impl Unpin for Pidr2
impl UnwindSafe for Pidr2
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
)