[][src]Struct imxrt1062_romc::W

pub struct W<U, REG> { /* fields omitted */ }

Register writer

Used as an argument to the closures in the write and modify methods of the register

Methods

impl<U, REG> W<U, REG>[src]

pub unsafe fn bits(&mut self, bits: U) -> &mut Self[src]

Writes raw bits to the register

impl W<u32, Reg<u32, _ROMPATCHD>>[src]

pub fn datax(&mut self) -> DATAX_W[src]

Bits 0:31 - Data Fix Registers - Stores the data used for 1-word data fix operations

impl W<u32, Reg<u32, _ROMPATCHCNTL>>[src]

pub fn datafix(&mut self) -> DATAFIX_W[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(&mut self) -> DIS_W[src]

Bit 29 - ROMC Disable -- This bit, when set, disables all ROMC operations

impl W<u32, Reg<u32, _ROMPATCHENL>>[src]

pub fn enable(&mut self) -> ENABLE_W[src]

Bits 0:15 - Enable Address Comparator - This bit enables the corresponding address comparator to trigger an event

impl W<u32, Reg<u32, _ROMPATCHA>>[src]

pub fn thumbx(&mut self) -> THUMBX_W[src]

Bit 0 - THUMB Comparator Select - Indicates that this address will trigger a THUMB opcode patch or an Arm opcode patch

pub fn addrx(&mut self) -> ADDRX_W[src]

Bits 1:22 - Address Comparator Registers - Indicates the memory address to be watched

impl W<u32, Reg<u32, _ROMPATCHSR>>[src]

pub fn sw(&mut self) -> SW_W[src]

Bit 17 - ROMC AHB Multiple Address Comparator matches Indicator - Indicates that multiple address comparator matches occurred

Auto Trait Implementations

impl<U, REG> Send for W<U, REG> where
    REG: Send,
    U: Send

impl<U, REG> Sync for W<U, REG> where
    REG: Sync,
    U: Sync

impl<U, REG> Unpin for W<U, REG> where
    REG: Unpin,
    U: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.