#[repr(transparent)]pub struct Rompatchsr(pub u32);Expand description
ROMC Status Register
Tuple Fields§
§0: u32Implementations§
Source§impl Rompatchsr
impl Rompatchsr
Sourcepub const fn source(&self) -> Source
pub const fn source(&self) -> Source
ROMC Source Number - Binary encoding of the number of the address comparator which has an address match in the most recent patch event on ROMC AHB
Sourcepub const fn set_source(&mut self, val: Source)
pub const fn set_source(&mut self, val: Source)
ROMC Source Number - Binary encoding of the number of the address comparator which has an address match in the most recent patch event on ROMC AHB
Trait Implementations§
Source§impl Clone for Rompatchsr
impl Clone for Rompatchsr
Source§fn clone(&self) -> Rompatchsr
fn clone(&self) -> Rompatchsr
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 Rompatchsr
impl Debug for Rompatchsr
Source§impl Default for Rompatchsr
impl Default for Rompatchsr
Source§fn default() -> Rompatchsr
fn default() -> Rompatchsr
Returns the “default value” for a type. Read more
Source§impl PartialEq for Rompatchsr
impl PartialEq for Rompatchsr
impl Copy for Rompatchsr
impl Eq for Rompatchsr
impl StructuralPartialEq for Rompatchsr
Auto Trait Implementations§
impl Freeze for Rompatchsr
impl RefUnwindSafe for Rompatchsr
impl Send for Rompatchsr
impl Sync for Rompatchsr
impl Unpin for Rompatchsr
impl UnwindSafe for Rompatchsr
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