Struct VersionId
#[repr(transparent)]pub struct VersionId(pub u32);Expand description
VERSION_ID register.
Tuple Fields§
§0: u32Implementations§
§impl VersionId
impl VersionId
pub const fn version_id(&self) -> u8
pub const fn version_id(&self) -> u8
VERSION_ID[7:0]: version of the embedded IP.
pub fn set_version_id(&mut self, val: u8)
pub fn set_version_id(&mut self, val: u8)
VERSION_ID[7:0]: version of the embedded IP.
Trait Implementations§
impl Copy for VersionId
impl Eq for VersionId
impl StructuralPartialEq for VersionId
Auto Trait Implementations§
impl Freeze for VersionId
impl RefUnwindSafe for VersionId
impl Send for VersionId
impl Sync for VersionId
impl Unpin for VersionId
impl UnwindSafe for VersionId
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