#[repr(transparent)]pub struct Miscphantom(pub u32);Expand description
MISC Phantom control register.
Tuple Fields§
§0: u32Implementations§
Source§impl Miscphantom
impl Miscphantom
Sourcepub const fn ram_size(&self) -> MiscphantomRamSize
pub const fn ram_size(&self) -> MiscphantomRamSize
System RAM size phantom control.
Sourcepub const fn set_ram_size(&mut self, val: MiscphantomRamSize)
pub const fn set_ram_size(&mut self, val: MiscphantomRamSize)
System RAM size phantom control.
Sourcepub const fn set_rama_ecc(&mut self, val: bool)
pub const fn set_rama_ecc(&mut self, val: bool)
RAMA ECC enable.
Sourcepub const fn flexcan_fd_en(&self) -> bool
pub const fn flexcan_fd_en(&self) -> bool
FLEXCAN_FD enable.
Sourcepub const fn set_flexcan_fd_en(&mut self, val: bool)
pub const fn set_flexcan_fd_en(&mut self, val: bool)
FLEXCAN_FD enable.
Trait Implementations§
Source§impl Clone for Miscphantom
impl Clone for Miscphantom
Source§fn clone(&self) -> Miscphantom
fn clone(&self) -> Miscphantom
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 Debug for Miscphantom
impl Debug for Miscphantom
Source§impl Default for Miscphantom
impl Default for Miscphantom
Source§fn default() -> Miscphantom
fn default() -> Miscphantom
Returns the “default value” for a type. Read more
Source§impl PartialEq for Miscphantom
impl PartialEq for Miscphantom
impl Copy for Miscphantom
impl Eq for Miscphantom
impl StructuralPartialEq for Miscphantom
Auto Trait Implementations§
impl Freeze for Miscphantom
impl RefUnwindSafe for Miscphantom
impl Send for Miscphantom
impl Sync for Miscphantom
impl Unpin for Miscphantom
impl UnwindSafe for Miscphantom
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