Type Alias d1_pac::rtc::losc_ctrl::RTC_SRC_SEL_W

source ·
pub type RTC_SRC_SEL_W<'a, const O: u8> = BitWriter<'a, u32, LOSC_CTRL_SPEC, RTC_SRC_SEL_A, O>;
Expand description

Field rtc_src_sel writer - RTC_TIMER Clock Source Select

Aliased Type§

struct RTC_SRC_SEL_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> RTC_SRC_SEL_W<'a, O>

source

pub fn losc_src(self) -> &'a mut W

LOSC_SRC

source

pub fn _24mdiv32k(self) -> &'a mut W

24MDIV32K

Before switching the bit, make sure that the 24MDIV32K function is enabled, that is, the bit16 of the 32K Fanout Control Register is 1.