[][src]Struct trinket_m0::tcc0::wave::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 wavegen(&self) -> WAVEGENR[src]

Bits 0:2 - Waveform Generation

pub fn ramp(&self) -> RAMPR[src]

Bits 4:5 - Ramp Mode

pub fn ciperen(&self) -> CIPERENR[src]

Bit 7 - Circular period Enable

pub fn ciccen0(&self) -> CICCEN0R[src]

Bit 8 - Circular Channel 0 Enable

pub fn ciccen1(&self) -> CICCEN1R[src]

Bit 9 - Circular Channel 1 Enable

pub fn ciccen2(&self) -> CICCEN2R[src]

Bit 10 - Circular Channel 2 Enable

pub fn ciccen3(&self) -> CICCEN3R[src]

Bit 11 - Circular Channel 3 Enable

pub fn pol0(&self) -> POL0R[src]

Bit 16 - Channel 0 Polarity

pub fn pol1(&self) -> POL1R[src]

Bit 17 - Channel 1 Polarity

pub fn pol2(&self) -> POL2R[src]

Bit 18 - Channel 2 Polarity

pub fn pol3(&self) -> POL3R[src]

Bit 19 - Channel 3 Polarity

pub fn swap0(&self) -> SWAP0R[src]

Bit 24 - Swap DTI Output Pair 0

pub fn swap1(&self) -> SWAP1R[src]

Bit 25 - Swap DTI Output Pair 1

pub fn swap2(&self) -> SWAP2R[src]

Bit 26 - Swap DTI Output Pair 2

pub fn swap3(&self) -> SWAP3R[src]

Bit 27 - Swap DTI Output Pair 3

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]