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

source

pub fn variant(&self) -> HS_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_one_shot(&self) -> bool

Checks if the value of the field is ONE_SHOT