[][src]Type Definition atsamd21g18a::tc3::count32::ctrla::W

type W = W<u16, CTRLA>;

Writer for register CTRLA

Implementations

impl W[src]

pub fn swrst(&mut self) -> SWRST_W<'_>[src]

Bit 0 - Software Reset

pub fn enable(&mut self) -> ENABLE_W<'_>[src]

Bit 1 - Enable

pub fn mode(&mut self) -> MODE_W<'_>[src]

Bits 2:3 - TC Mode

pub fn wavegen(&mut self) -> WAVEGEN_W<'_>[src]

Bits 5:6 - Waveform Generation Operation

pub fn prescaler(&mut self) -> PRESCALER_W<'_>[src]

Bits 8:10 - Prescaler

pub fn runstdby(&mut self) -> RUNSTDBY_W<'_>[src]

Bit 11 - Run in Standby

pub fn prescsync(&mut self) -> PRESCSYNC_W<'_>[src]

Bits 12:13 - Prescaler and Counter Synchronization