Type Alias d1_pac::ccu::usb1_clk::CLK12M_SEL_R

source ·
pub type CLK12M_SEL_R = FieldReader<u8, CLK12M_SEL_A>;
Expand description

Field clk12m_sel reader - OHCI 12M Source Select

Aliased Type§

struct CLK12M_SEL_R { /* private fields */ }

Implementations§

source§

impl CLK12M_SEL_R

source

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

Get enumerated values variant

source

pub fn is_div_48m(&self) -> bool

Checks if the value of the field is DIV_48M

source

pub fn is_div_24m(&self) -> bool

Checks if the value of the field is DIV_24M

source

pub fn is_rtc_32k(&self) -> bool

Checks if the value of the field is RTC_32K