Type Alias atsame54n::tcc0::wave::R

source ·
pub type R = R<WAVE_SPEC>;
Expand description

Register WAVE reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn wavegen(&self) -> WAVEGEN_R

Bits 0:2 - Waveform Generation

source

pub fn ramp(&self) -> RAMP_R

Bits 4:5 - Ramp Mode

source

pub fn ciperen(&self) -> CIPEREN_R

Bit 7 - Circular period Enable

source

pub fn ciccen0(&self) -> CICCEN0_R

Bit 8 - Circular Channel 0 Enable

source

pub fn ciccen1(&self) -> CICCEN1_R

Bit 9 - Circular Channel 1 Enable

source

pub fn ciccen2(&self) -> CICCEN2_R

Bit 10 - Circular Channel 2 Enable

source

pub fn ciccen3(&self) -> CICCEN3_R

Bit 11 - Circular Channel 3 Enable

source

pub fn pol0(&self) -> POL0_R

Bit 16 - Channel 0 Polarity

source

pub fn pol1(&self) -> POL1_R

Bit 17 - Channel 1 Polarity

source

pub fn pol2(&self) -> POL2_R

Bit 18 - Channel 2 Polarity

source

pub fn pol3(&self) -> POL3_R

Bit 19 - Channel 3 Polarity

source

pub fn pol4(&self) -> POL4_R

Bit 20 - Channel 4 Polarity

source

pub fn pol5(&self) -> POL5_R

Bit 21 - Channel 5 Polarity

source

pub fn swap0(&self) -> SWAP0_R

Bit 24 - Swap DTI Output Pair 0

source

pub fn swap1(&self) -> SWAP1_R

Bit 25 - Swap DTI Output Pair 1

source

pub fn swap2(&self) -> SWAP2_R

Bit 26 - Swap DTI Output Pair 2

source

pub fn swap3(&self) -> SWAP3_R

Bit 27 - Swap DTI Output Pair 3