Type Alias R

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

Register CR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn en(&self, n: u8) -> EN_R

DAC channel(1-2) enable

`n` is number of field in register. `n == 0` corresponds to `EN1` field.
Source

pub fn en_iter(&self) -> impl Iterator<Item = EN_R> + '_

Iterator for array of: DAC channel(1-2) enable

Source

pub fn en1(&self) -> EN_R

Bit 0 - DAC channel1 enable

Source

pub fn en2(&self) -> EN_R

Bit 16 - DAC channel2 enable

Source

pub fn boff(&self, n: u8) -> BOFF_R

DAC channel(1-2) output buffer disable

`n` is number of field in register. `n == 0` corresponds to `BOFF1` field.
Source

pub fn boff_iter(&self) -> impl Iterator<Item = BOFF_R> + '_

Iterator for array of: DAC channel(1-2) output buffer disable

Source

pub fn boff1(&self) -> BOFF_R

Bit 1 - DAC channel1 output buffer disable

Source

pub fn boff2(&self) -> BOFF_R

Bit 17 - DAC channel2 output buffer disable

Source

pub fn ten(&self, n: u8) -> TEN_R

DAC channel(1-2) trigger enable

`n` is number of field in register. `n == 0` corresponds to `TEN1` field.
Source

pub fn ten_iter(&self) -> impl Iterator<Item = TEN_R> + '_

Iterator for array of: DAC channel(1-2) trigger enable

Source

pub fn ten1(&self) -> TEN_R

Bit 2 - DAC channel1 trigger enable

Source

pub fn ten2(&self) -> TEN_R

Bit 18 - DAC channel2 trigger enable

Source

pub fn tsel1(&self) -> TSEL1_R

Bits 3:5 - DAC channel1 trigger selection

Source

pub fn wave(&self, n: u8) -> WAVE_R

DAC channel(1-2) noise/triangle wave generation enable

`n` is number of field in register. `n == 0` corresponds to `WAVE1` field.
Source

pub fn wave_iter(&self) -> impl Iterator<Item = WAVE_R> + '_

Iterator for array of: DAC channel(1-2) noise/triangle wave generation enable

Source

pub fn wave1(&self) -> WAVE_R

Bits 6:7 - DAC channel1 noise/triangle wave generation enable

Source

pub fn wave2(&self) -> WAVE_R

Bits 22:23 - DAC channel2 noise/triangle wave generation enable

Source

pub fn mamp(&self, n: u8) -> MAMP_R

DAC channel(1-2) mask/amplitude selector

`n` is number of field in register. `n == 0` corresponds to `MAMP1` field.
Source

pub fn mamp_iter(&self) -> impl Iterator<Item = MAMP_R> + '_

Iterator for array of: DAC channel(1-2) mask/amplitude selector

Source

pub fn mamp1(&self) -> MAMP_R

Bits 8:11 - DAC channel1 mask/amplitude selector

Source

pub fn mamp2(&self) -> MAMP_R

Bits 24:27 - DAC channel2 mask/amplitude selector

Source

pub fn dmaen(&self, n: u8) -> DMAEN_R

DAC channel(1-2) DMA enable

`n` is number of field in register. `n == 0` corresponds to `DMAEN1` field.
Source

pub fn dmaen_iter(&self) -> impl Iterator<Item = DMAEN_R> + '_

Iterator for array of: DAC channel(1-2) DMA enable

Source

pub fn dmaen1(&self) -> DMAEN_R

Bit 12 - DAC channel1 DMA enable

Source

pub fn dmaen2(&self) -> DMAEN_R

Bit 28 - DAC channel2 DMA enable

Source

pub fn dmaudrie(&self, n: u8) -> DMAUDRIE_R

DAC channel(1-2) DMA Underrun Interrupt enable

`n` is number of field in register. `n == 0` corresponds to `DMAUDRIE1` field.
Source

pub fn dmaudrie_iter(&self) -> impl Iterator<Item = DMAUDRIE_R> + '_

Iterator for array of: DAC channel(1-2) DMA Underrun Interrupt enable

Source

pub fn dmaudrie1(&self) -> DMAUDRIE_R

Bit 13 - DAC channel1 DMA Underrun Interrupt enable

Source

pub fn dmaudrie2(&self) -> DMAUDRIE_R

Bit 29 - DAC channel2 DMA Underrun Interrupt enable

Source

pub fn tsel2(&self) -> TSEL2_R

Bits 19:21 - DAC channel2 trigger selection

Trait Implementations§

Source§

impl Debug for R

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more