[][src]Type Definition k1921vk01t_pac::nt_cap0::ecctl1::W

type W = W<u32, ECCTL1>;

Writer for register ECCTL1

Methods

impl W[src]

pub fn cont_onesht(&mut self) -> CONT_ONESHT_W[src]

Bit 0 - Capture mode

pub fn stop_wrap(&mut self) -> STOP_WRAP_W[src]

Bits 1:2

pub fn rearm(&mut self) -> REARM_W[src]

Bit 3 - reset and enable controller, load reg capt

pub fn tsctrstop(&mut self) -> TSCTRSTOP_W[src]

Bit 4 - enable Timer

pub fn synci_en(&mut self) -> SYNCI_EN_W[src]

Bit 5 - sync outer impulse

pub fn synco_sel(&mut self) -> SYNCO_SEL_W[src]

Bits 6:7

pub fn swsync(&mut self) -> SWSYNC_W[src]

Bit 8 - Timers synchr

pub fn cap_apwm(&mut self) -> CAP_APWM_W[src]

Bit 9 - Capture mode or APWM

pub fn apwm_pol(&mut self) -> APWM_POL_W[src]

Bit 10 - High/low level APWM