Type Alias W

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

Register WAVE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn wavegen(&mut self) -> WavegenW<'_, WaveSpec>

Bits 0:2 - Waveform Generation

Source

pub fn ramp(&mut self) -> RampW<'_, WaveSpec>

Bits 4:5 - Ramp Mode

Source

pub fn ciperen(&mut self) -> CiperenW<'_, WaveSpec>

Bit 7 - Circular period Enable

Source

pub fn ciccen0(&mut self) -> Ciccen0W<'_, WaveSpec>

Bit 8 - Circular Channel 0 Enable

Source

pub fn ciccen1(&mut self) -> Ciccen1W<'_, WaveSpec>

Bit 9 - Circular Channel 1 Enable

Source

pub fn ciccen2(&mut self) -> Ciccen2W<'_, WaveSpec>

Bit 10 - Circular Channel 2 Enable

Source

pub fn ciccen3(&mut self) -> Ciccen3W<'_, WaveSpec>

Bit 11 - Circular Channel 3 Enable

Source

pub fn pol0(&mut self) -> Pol0W<'_, WaveSpec>

Bit 16 - Channel 0 Polarity

Source

pub fn pol1(&mut self) -> Pol1W<'_, WaveSpec>

Bit 17 - Channel 1 Polarity

Source

pub fn pol2(&mut self) -> Pol2W<'_, WaveSpec>

Bit 18 - Channel 2 Polarity

Source

pub fn pol3(&mut self) -> Pol3W<'_, WaveSpec>

Bit 19 - Channel 3 Polarity

Source

pub fn swap0(&mut self) -> Swap0W<'_, WaveSpec>

Bit 24 - Swap DTI Output Pair 0

Source

pub fn swap1(&mut self) -> Swap1W<'_, WaveSpec>

Bit 25 - Swap DTI Output Pair 1

Source

pub fn swap2(&mut self) -> Swap2W<'_, WaveSpec>

Bit 26 - Swap DTI Output Pair 2

Source

pub fn swap3(&mut self) -> Swap3W<'_, WaveSpec>

Bit 27 - Swap DTI Output Pair 3