Type Alias d1_pac::pwm::pccr01::PWM01_CLK_SRC_R

source ·
pub type PWM01_CLK_SRC_R = FieldReader<u8, PWM01_CLK_SRC_A>;
Expand description

Field pwm01_clk_src reader - Select PWM01 Clock Source

Aliased Type§

struct PWM01_CLK_SRC_R { /* private fields */ }

Implementations§

source§

impl PWM01_CLK_SRC_R

source

pub fn variant(&self) -> Option<PWM01_CLK_SRC_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