Type Alias gd32f1::gd32f130::rcu::bdctl::W

source ·
pub type W = W<BdctlSpec>;
Expand description

Register BDCTL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn lxtalen(&mut self) -> LxtalenW<'_, BdctlSpec>

Bit 0 - LXTAL enable

source

pub fn lxtalbps(&mut self) -> LxtalbpsW<'_, BdctlSpec>

Bit 2 - LXTAL bypass mode enable

source

pub fn lxtaldri(&mut self) -> LxtaldriW<'_, BdctlSpec>

Bits 3:4 - LXTAL drive capability

source

pub fn rtcsrc(&mut self) -> RtcsrcW<'_, BdctlSpec>

Bits 8:9 - RTC clock entry selection

source

pub fn rtcen(&mut self) -> RtcenW<'_, BdctlSpec>

Bit 15 - RTC clock enable

source

pub fn bkprst(&mut self) -> BkprstW<'_, BdctlSpec>

Bit 16 - Backup domain reset