[−][src]Struct imxrt1062_romc::R
Register/field reader
Result of the read
method of a register.
Also it can be used in the modify
method
Methods
impl<U, T> R<U, T> where
U: Copy,
[src]
U: Copy,
impl<FI> R<bool, FI>
[src]
pub fn bit(&self) -> bool
[src]
Value of the field as raw bits
pub fn bit_is_clear(&self) -> bool
[src]
Returns true
if the bit is clear (0)
pub fn bit_is_set(&self) -> bool
[src]
Returns true
if the bit is set (1)
impl R<u32, Reg<u32, _ROMPATCHD>>
[src]
pub fn datax(&self) -> DATAX_R
[src]
Bits 0:31 - Data Fix Registers - Stores the data used for 1-word data fix operations
impl R<u8, DATAFIX_A>
[src]
pub fn variant(&self) -> Variant<u8, DATAFIX_A>
[src]
Get enumerated values variant
pub fn is_datafix_0(&self) -> bool
[src]
Checks if the value of the field is DATAFIX_0
pub fn is_datafix_1(&self) -> bool
[src]
Checks if the value of the field is DATAFIX_1
impl R<bool, DIS_A>
[src]
pub fn variant(&self) -> DIS_A
[src]
Get enumerated values variant
pub fn is_dis_0(&self) -> bool
[src]
Checks if the value of the field is DIS_0
pub fn is_dis_1(&self) -> bool
[src]
Checks if the value of the field is DIS_1
impl R<u32, Reg<u32, _ROMPATCHCNTL>>
[src]
pub fn datafix(&self) -> DATAFIX_R
[src]
Bits 0:7 - Data Fix Enable - Controls the use of the first 8 address comparators for 1-word data fix or for code patch routine
pub fn dis(&self) -> DIS_R
[src]
Bit 29 - ROMC Disable -- This bit, when set, disables all ROMC operations
impl R<u16, ENABLE_A>
[src]
pub fn variant(&self) -> Variant<u16, ENABLE_A>
[src]
Get enumerated values variant
pub fn is_enable_0(&self) -> bool
[src]
Checks if the value of the field is ENABLE_0
pub fn is_enable_1(&self) -> bool
[src]
Checks if the value of the field is ENABLE_1
impl R<u32, Reg<u32, _ROMPATCHENL>>
[src]
pub fn enable(&self) -> ENABLE_R
[src]
Bits 0:15 - Enable Address Comparator - This bit enables the corresponding address comparator to trigger an event
impl R<bool, THUMBX_A>
[src]
pub fn variant(&self) -> THUMBX_A
[src]
Get enumerated values variant
pub fn is_thumbx_0(&self) -> bool
[src]
Checks if the value of the field is THUMBX_0
pub fn is_thumbx_1(&self) -> bool
[src]
Checks if the value of the field is THUMBX_1
impl R<u32, Reg<u32, _ROMPATCHA>>
[src]
pub fn thumbx(&self) -> THUMBX_R
[src]
Bit 0 - THUMB Comparator Select - Indicates that this address will trigger a THUMB opcode patch or an Arm opcode patch
pub fn addrx(&self) -> ADDRX_R
[src]
Bits 1:22 - Address Comparator Registers - Indicates the memory address to be watched
impl R<u8, SOURCE_A>
[src]
pub fn variant(&self) -> Variant<u8, SOURCE_A>
[src]
Get enumerated values variant
pub fn is_source_0(&self) -> bool
[src]
Checks if the value of the field is SOURCE_0
pub fn is_source_1(&self) -> bool
[src]
Checks if the value of the field is SOURCE_1
pub fn is_source_15(&self) -> bool
[src]
Checks if the value of the field is SOURCE_15
impl R<bool, SW_A>
[src]
pub fn variant(&self) -> SW_A
[src]
Get enumerated values variant
pub fn is_sw_0(&self) -> bool
[src]
Checks if the value of the field is SW_0
pub fn is_sw_1(&self) -> bool
[src]
Checks if the value of the field is SW_1
impl R<u32, Reg<u32, _ROMPATCHSR>>
[src]
pub fn source(&self) -> SOURCE_R
[src]
Bits 0:5 - 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
pub fn sw(&self) -> SW_R
[src]
Bit 17 - ROMC AHB Multiple Address Comparator matches Indicator - Indicates that multiple address comparator matches occurred
Trait Implementations
Auto Trait Implementations
impl<U, T> Send for R<U, T> where
T: Send,
U: Send,
T: Send,
U: Send,
impl<U, T> Sync for R<U, T> where
T: Sync,
U: Sync,
T: Sync,
U: Sync,
impl<U, T> Unpin for R<U, T> where
T: Unpin,
U: Unpin,
T: Unpin,
U: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,