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