Type Alias d1_pac::timer::tmr_ctrl::TMR_CLK_SRC_R

source ·
pub type TMR_CLK_SRC_R = FieldReader<u8, TMR_CLK_SRC_A>;
Expand description

Field tmr_clk_src reader -

Aliased Type§

struct TMR_CLK_SRC_R { /* private fields */ }

Implementations§

source§

impl TMR_CLK_SRC_R

source

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

Get enumerated values variant

source

pub fn is_losc(&self) -> bool

Checks if the value of the field is LOSC

source

pub fn is_osc24_m(&self) -> bool

Checks if the value of the field is OSC24_M