Type Alias W

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

Register MCR writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn mode(&mut self, n: u8) -> MODE_W<'_, MCRrs>

DAC channel(1-2) mode

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

pub fn mode1(&mut self) -> MODE_W<'_, MCRrs>

Bits 0:2 - DAC channel1 mode

Source

pub fn mode2(&mut self) -> MODE_W<'_, MCRrs>

Bits 16:18 - DAC channel2 mode

Source

pub fn dmadouble(&mut self, n: u8) -> DMADOUBLE_W<'_, MCRrs>

DAC channel(1-2) DMA double data mode

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

pub fn dmadouble1(&mut self) -> DMADOUBLE_W<'_, MCRrs>

Bit 8 - DAC channel1 DMA double data mode

Source

pub fn dmadouble2(&mut self) -> DMADOUBLE_W<'_, MCRrs>

Bit 24 - DAC channel2 DMA double data mode

Source

pub fn sinformat(&mut self, n: u8) -> SINFORMAT_W<'_, MCRrs>

Enable signed format for DAC channel(1-2)

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

pub fn sinformat1(&mut self) -> SINFORMAT_W<'_, MCRrs>

Bit 9 - Enable signed format for DAC channel1

Source

pub fn sinformat2(&mut self) -> SINFORMAT_W<'_, MCRrs>

Bit 25 - Enable signed format for DAC channel2

Source

pub fn hfsel(&mut self) -> HFSEL_W<'_, MCRrs>

Bits 14:15 - High frequency interface mode selection