Type Alias d1_pac::hs_timer::hs_tmr_ctrl::HS_TMR_MODE_R
source · pub type HS_TMR_MODE_R = BitReader<HS_TMR_MODE_A>;
Expand description
Field hs_tmr_mode
reader - Select the timing mode for HSTimer
Aliased Type§
struct HS_TMR_MODE_R { /* private fields */ }
Implementations§
source§impl HS_TMR_MODE_R
impl HS_TMR_MODE_R
sourcepub fn variant(&self) -> HS_TMR_MODE_A
pub fn variant(&self) -> HS_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_one_shot(&self) -> bool
pub fn is_one_shot(&self) -> bool
Checks if the value of the field is ONE_SHOT