Type Alias d1_pac::pwm::pccr45::PWM45_CLK_SRC_SEL_R

source ·
pub type PWM45_CLK_SRC_SEL_R = FieldReader<u8, PWM45_CLK_SRC_SEL_A>;
Expand description

Field pwm45_clk_src_sel reader - Select PWM45 Clock Source

Aliased Type§

struct PWM45_CLK_SRC_SEL_R { /* private fields */ }

Implementations§

source§

impl PWM45_CLK_SRC_SEL_R

source

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

Get enumerated values variant

source

pub fn is_hosc(&self) -> bool

Checks if the value of the field is HOSC

source

pub fn is_apb0(&self) -> bool

Checks if the value of the field is APB0