#[repr(transparent)]pub struct Rompatchcntl(pub u32);Expand description
ROMC Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl Rompatchcntl
impl Rompatchcntl
Sourcepub const fn datafix(&self) -> Datafix
pub const fn datafix(&self) -> Datafix
Data Fix Enable - Controls the use of the first 8 address comparators for 1-word data fix or for code patch routine
Sourcepub const fn set_datafix(&mut self, val: Datafix)
pub const fn set_datafix(&mut self, val: Datafix)
Data Fix Enable - Controls the use of the first 8 address comparators for 1-word data fix or for code patch routine
Trait Implementations§
Source§impl Clone for Rompatchcntl
impl Clone for Rompatchcntl
Source§fn clone(&self) -> Rompatchcntl
fn clone(&self) -> Rompatchcntl
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 Rompatchcntl
impl Debug for Rompatchcntl
Source§impl Default for Rompatchcntl
impl Default for Rompatchcntl
Source§fn default() -> Rompatchcntl
fn default() -> Rompatchcntl
Returns the “default value” for a type. Read more
Source§impl PartialEq for Rompatchcntl
impl PartialEq for Rompatchcntl
impl Copy for Rompatchcntl
impl Eq for Rompatchcntl
impl StructuralPartialEq for Rompatchcntl
Auto Trait Implementations§
impl Freeze for Rompatchcntl
impl RefUnwindSafe for Rompatchcntl
impl Send for Rompatchcntl
impl Sync for Rompatchcntl
impl Unpin for Rompatchcntl
impl UnwindSafe for Rompatchcntl
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