[][src]Struct gemma_m0::tcc0::wave::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

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

Writes raw bits to the register

pub fn wavegen(&mut self) -> _WAVEGENW[src]

Bits 0:2 - Waveform Generation

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

Bits 4:5 - Ramp Mode

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

Bit 7 - Circular period Enable

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

Bit 8 - Circular Channel 0 Enable

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

Bit 9 - Circular Channel 1 Enable

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

Bit 10 - Circular Channel 2 Enable

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

Bit 11 - Circular Channel 3 Enable

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

Bit 16 - Channel 0 Polarity

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

Bit 17 - Channel 1 Polarity

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

Bit 18 - Channel 2 Polarity

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

Bit 19 - Channel 3 Polarity

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

Bit 24 - Swap DTI Output Pair 0

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

Bit 25 - Swap DTI Output Pair 1

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

Bit 26 - Swap DTI Output Pair 2

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

Bit 27 - Swap DTI Output Pair 3

Auto Trait Implementations

impl Send for W

impl Sync for W

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]