Struct stm32_metapac::dbgmcu::regs::Idcoder
#[repr(transparent)]pub struct Idcoder(pub u32);
Expand description
Identity Code Register
Tuple Fields§
§0: u32
Implementations§
§impl Idcoder
impl Idcoder
pub fn set_dev_id(&mut self, val: u16)
pub fn set_dev_id(&mut self, val: u16)
Device ID
pub fn set_rev_id(&mut self, val: u16)
pub fn set_rev_id(&mut self, val: u16)
Revision
Trait Implementations§
impl Copy for Idcoder
impl Eq for Idcoder
impl StructuralPartialEq for Idcoder
Auto Trait Implementations§
impl Freeze for Idcoder
impl RefUnwindSafe for Idcoder
impl Send for Idcoder
impl Sync for Idcoder
impl Unpin for Idcoder
impl UnwindSafe for Idcoder
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
)