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
impl TMR_MODE_R
sourcepub fn variant(&self) -> TMR_MODE_A
pub fn variant(&self) -> TMR_MODE_A
Get enumerated values variant
sourcepub fn is_periodic(&self) -> bool
pub fn is_periodic(&self) -> bool
Checks if the value of the field is PERIODIC
sourcepub fn is_single_counting(&self) -> bool
pub fn is_single_counting(&self) -> bool
Checks if the value of the field is SINGLE_COUNTING