[][src]Struct trinket_m0::tcc0::status::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn stop(&self) -> STOPR[src]

Bit 0 - Stop

pub fn idx(&self) -> IDXR[src]

Bit 1 - Ramp

pub fn dfs(&self) -> DFSR[src]

Bit 3 - Non-Recoverable Debug Fault State

pub fn slave(&self) -> SLAVER[src]

Bit 4 - Slave

pub fn pattbv(&self) -> PATTBVR[src]

Bit 5 - Pattern Buffer Valid

pub fn wavebv(&self) -> WAVEBVR[src]

Bit 6 - Wave Buffer Valid

pub fn perbv(&self) -> PERBVR[src]

Bit 7 - Period Buffer Valid

pub fn faultain(&self) -> FAULTAINR[src]

Bit 8 - Recoverable Fault A Input

pub fn faultbin(&self) -> FAULTBINR[src]

Bit 9 - Recoverable Fault B Input

pub fn fault0in(&self) -> FAULT0INR[src]

Bit 10 - Non-Recoverable Fault0 Input

pub fn fault1in(&self) -> FAULT1INR[src]

Bit 11 - Non-Recoverable Fault1 Input

pub fn faulta(&self) -> FAULTAR[src]

Bit 12 - Recoverable Fault A State

pub fn faultb(&self) -> FAULTBR[src]

Bit 13 - Recoverable Fault B State

pub fn fault0(&self) -> FAULT0R[src]

Bit 14 - Non-Recoverable Fault 0 State

pub fn fault1(&self) -> FAULT1R[src]

Bit 15 - Non-Recoverable Fault 1 State

pub fn ccbv0(&self) -> CCBV0R[src]

Bit 16 - Compare Channel 0 Buffer Valid

pub fn ccbv1(&self) -> CCBV1R[src]

Bit 17 - Compare Channel 1 Buffer Valid

pub fn ccbv2(&self) -> CCBV2R[src]

Bit 18 - Compare Channel 2 Buffer Valid

pub fn ccbv3(&self) -> CCBV3R[src]

Bit 19 - Compare Channel 3 Buffer Valid

pub fn cmp0(&self) -> CMP0R[src]

Bit 24 - Compare Channel 0 Value

pub fn cmp1(&self) -> CMP1R[src]

Bit 25 - Compare Channel 1 Value

pub fn cmp2(&self) -> CMP2R[src]

Bit 26 - Compare Channel 2 Value

pub fn cmp3(&self) -> CMP3R[src]

Bit 27 - Compare Channel 3 Value

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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