#[repr(transparent)]pub struct DeviceId0A5(pub u32);Expand description
Device ID.
Tuple Fields§
§0: u32Implementations§
Source§impl DeviceId0A5
impl DeviceId0A5
Sourcepub const fn set_ram_size(&mut self, val: RamSize)
pub const fn set_ram_size(&mut self, val: RamSize)
Indicates the device’s ram size.
Sourcepub const fn flash_size(&self) -> FlashSize
pub const fn flash_size(&self) -> FlashSize
Indicates the device’s flash size.
Sourcepub const fn set_flash_size(&mut self, val: FlashSize)
pub const fn set_flash_size(&mut self, val: FlashSize)
Indicates the device’s flash size.
Sourcepub const fn rom_rev_minor(&self) -> u8
pub const fn rom_rev_minor(&self) -> u8
Indicates the device’s ROM revision.
Sourcepub const fn set_rom_rev_minor(&mut self, val: u8)
pub const fn set_rom_rev_minor(&mut self, val: u8)
Indicates the device’s ROM revision.
Sourcepub const fn security(&self) -> Security
pub const fn security(&self) -> Security
CM33_SECURITY_EXTENSION_DISABLE[3:0], which is loaded from soctrim0[87:84].
Sourcepub const fn set_security(&mut self, val: Security)
pub const fn set_security(&mut self, val: Security)
CM33_SECURITY_EXTENSION_DISABLE[3:0], which is loaded from soctrim0[87:84].
Trait Implementations§
Source§impl Clone for DeviceId0A5
impl Clone for DeviceId0A5
Source§fn clone(&self) -> DeviceId0A5
fn clone(&self) -> DeviceId0A5
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for DeviceId0A5
impl Default for DeviceId0A5
Source§fn default() -> DeviceId0A5
fn default() -> DeviceId0A5
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeviceId0A5
impl PartialEq for DeviceId0A5
impl Copy for DeviceId0A5
impl Eq for DeviceId0A5
impl StructuralPartialEq for DeviceId0A5
Auto Trait Implementations§
impl Freeze for DeviceId0A5
impl RefUnwindSafe for DeviceId0A5
impl Send for DeviceId0A5
impl Sync for DeviceId0A5
impl Unpin for DeviceId0A5
impl UnwindSafe for DeviceId0A5
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