Struct gd32f1::gd32f190::rcu::bdctl::W [−][src]
pub struct W(_);
Register BDCTL
writer
Implementations
impl W
[src]
impl W
[src]pub fn lxtalen(&mut self) -> LXTALEN_W<'_>
[src]
Bit 0 - LXTAL enable
pub fn lxtalbps(&mut self) -> LXTALBPS_W<'_>
[src]
Bit 2 - LXTAL bypass mode enable
pub fn lxtaldri(&mut self) -> LXTALDRI_W<'_>
[src]
Bits 3:4 - LXTAL drive capability
pub fn rtcsrc(&mut self) -> RTCSRC_W<'_>
[src]
Bits 8:9 - RTC clock entry selection
pub fn rtcen(&mut self) -> RTCEN_W<'_>
[src]
Bit 15 - RTC clock enable
pub fn bkprst(&mut self) -> BKPRST_W<'_>
[src]
Bit 16 - Backup domain reset
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register.