W

Type Alias W 

Source
pub type W = W<u32, SMCR>;
Expand description

Writer for register SMCR

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn etp(&mut self) -> ETP_W<'_>

Bit 15 - External trigger polarity

Source

pub fn ece(&mut self) -> ECE_W<'_>

Bit 14 - External clock enable

Source

pub fn etps(&mut self) -> ETPS_W<'_>

Bits 12:13 - External trigger prescaler

Source

pub fn etf(&mut self) -> ETF_W<'_>

Bits 8:11 - External trigger filter

Source

pub fn msm(&mut self) -> MSM_W<'_>

Bit 7 - Master/Slave mode

Source

pub fn ts(&mut self) -> TS_W<'_>

Bits 4:6 - Trigger selection

Source

pub fn sms(&mut self) -> SMS_W<'_>

Bits 0:2 - Slave mode selection