Type Definition atsame54n19a_pac::tc0::count8::ctrla::W[][src]

type W = W<u32, 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 - Timer Counter Mode

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

Bits 4:5 - Prescaler and Counter Synchronization

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

Bit 6 - Run during Standby

pub fn ondemand(&mut self) -> ONDEMAND_W<'_>[src]

Bit 7 - Clock On Demand

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

Bits 8:10 - Prescaler

pub fn alock(&mut self) -> ALOCK_W<'_>[src]

Bit 11 - Auto Lock

pub fn capten0(&mut self) -> CAPTEN0_W<'_>[src]

Bit 16 - Capture Channel 0 Enable

pub fn capten1(&mut self) -> CAPTEN1_W<'_>[src]

Bit 17 - Capture Channel 1 Enable

pub fn copen0(&mut self) -> COPEN0_W<'_>[src]

Bit 20 - Capture On Pin 0 Enable

pub fn copen1(&mut self) -> COPEN1_W<'_>[src]

Bit 21 - Capture On Pin 1 Enable

pub fn captmode0(&mut self) -> CAPTMODE0_W<'_>[src]

Bits 24:25 - Capture Mode Channel 0

pub fn captmode1(&mut self) -> CAPTMODE1_W<'_>[src]

Bits 27:28 - Capture mode Channel 1