Type Alias R

Source
pub type R = R<SMCRrs>;
Expand description

Register SMCR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn sms(&self) -> SMS_R

Bits 0:2 - Slave mode selection

Source

pub fn occs(&self) -> OCCS_R

Bit 3 - OCREF clear selection

Source

pub fn ts(&self) -> TS_R

Bits 4:6 - Trigger selection

Source

pub fn msm(&self) -> MSM_R

Bit 7 - Master/Slave mode

Source

pub fn etf(&self) -> ETF_R

Bits 8:11 - External trigger filter

Source

pub fn etps(&self) -> ETPS_R

Bits 12:13 - External trigger prescaler

Source

pub fn ece(&self) -> ECE_R

Bit 14 - External clock enable

Source

pub fn etp(&self) -> ETP_R

Bit 15 - External trigger polarity

Trait Implementations§

Source§

impl Debug for R

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more