Type Alias d1_pac::timer::tmr_ctrl::TMR_MODE_R

source ·
pub type TMR_MODE_R = BitReader<TMR_MODE_A>;
Expand description

Field tmr_mode reader -

Aliased Type§

struct TMR_MODE_R { /* private fields */ }

Implementations§

source§

impl TMR_MODE_R

source

pub fn variant(&self) -> TMR_MODE_A

Get enumerated values variant

source

pub fn is_periodic(&self) -> bool

Checks if the value of the field is PERIODIC

source

pub fn is_single_counting(&self) -> bool

Checks if the value of the field is SINGLE_COUNTING