#[repr(transparent)]pub struct Id(pub u32);Expand description
Peripheral identification register.
Tuple Fields§
§0: u32Implementations§
Source§impl Id
impl Id
Sourcepub const fn aperture(&self) -> u8
pub const fn aperture(&self) -> u8
Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture.
Sourcepub const fn set_aperture(&mut self, val: u8)
pub const fn set_aperture(&mut self, val: u8)
Aperture: encoded as (aperture size/4K) -1, so 0x00 means a 4K aperture.
Sourcepub const fn set_minor_rev(&mut self, val: u8)
pub const fn set_minor_rev(&mut self, val: u8)
Minor revision of module implementation.
Sourcepub const fn set_major_rev(&mut self, val: u8)
pub const fn set_major_rev(&mut self, val: u8)
Major revision of module implementation.
Trait Implementations§
impl Copy for Id
impl Eq for Id
impl StructuralPartialEq for Id
Auto Trait Implementations§
impl Freeze for Id
impl RefUnwindSafe for Id
impl Send for Id
impl Sync for Id
impl Unpin for Id
impl UnwindSafe for Id
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