atsamd11d::tcc0::wave

Type Alias R

Source
pub type R = R<WaveSpec>;
Expand description

Register WAVE reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn wavegen(&self) -> WavegenR

Bits 0:2 - Waveform Generation

Source

pub fn ramp(&self) -> RampR

Bits 4:5 - Ramp Mode

Source

pub fn ciperen(&self) -> CiperenR

Bit 7 - Circular period Enable

Source

pub fn ciccen0(&self) -> Ciccen0R

Bit 8 - Circular Channel 0 Enable

Source

pub fn ciccen1(&self) -> Ciccen1R

Bit 9 - Circular Channel 1 Enable

Source

pub fn ciccen2(&self) -> Ciccen2R

Bit 10 - Circular Channel 2 Enable

Source

pub fn ciccen3(&self) -> Ciccen3R

Bit 11 - Circular Channel 3 Enable

Source

pub fn pol0(&self) -> Pol0R

Bit 16 - Channel 0 Polarity

Source

pub fn pol1(&self) -> Pol1R

Bit 17 - Channel 1 Polarity

Source

pub fn pol2(&self) -> Pol2R

Bit 18 - Channel 2 Polarity

Source

pub fn pol3(&self) -> Pol3R

Bit 19 - Channel 3 Polarity

Source

pub fn swap0(&self) -> Swap0R

Bit 24 - Swap DTI Output Pair 0

Source

pub fn swap1(&self) -> Swap1R

Bit 25 - Swap DTI Output Pair 1

Source

pub fn swap2(&self) -> Swap2R

Bit 26 - Swap DTI Output Pair 2

Source

pub fn swap3(&self) -> Swap3R

Bit 27 - Swap DTI Output Pair 3