Type Alias d1_pac::hs_timer::hs_tmr_ctrl::HS_TMR_CLK_R

source ·
pub type HS_TMR_CLK_R = FieldReader<u8, HS_TMR_CLK_A>;
Expand description

Field hs_tmr_clk reader - Select the pre-scale for the HSTimer clock sources

Aliased Type§

struct HS_TMR_CLK_R { /* private fields */ }

Implementations§

source§

impl HS_TMR_CLK_R

source

pub fn variant(&self) -> Option<HS_TMR_CLK_A>

Get enumerated values variant

source

pub fn is_p1(&self) -> bool

Checks if the value of the field is P1

source

pub fn is_p2(&self) -> bool

Checks if the value of the field is P2

source

pub fn is_p4(&self) -> bool

Checks if the value of the field is P4

source

pub fn is_p8(&self) -> bool

Checks if the value of the field is P8

source

pub fn is_p16(&self) -> bool

Checks if the value of the field is P16