[][src]Type Definition ht32f1xxxx::ht32f12365_66::rtc::rtc_cr::W

type W = W<u32, RTC_CR>;

Writer for register RTC_CR

Implementations

impl W[src]

pub fn rtcen(&mut self) -> RTCEN_W[src]

Bit 0 - RTCEN

pub fn rtcsrc(&mut self) -> RTCSRC_W[src]

Bit 1 - RTCSRC

pub fn lsien(&mut self) -> LSIEN_W[src]

Bit 2 - LSIEN

pub fn lseen(&mut self) -> LSEEN_W[src]

Bit 3 - LSEEN

pub fn cmpclr(&mut self) -> CMPCLR_W[src]

Bit 4 - CMPCLR

pub fn lsesm(&mut self) -> LSESM_W[src]

Bit 5 - LSESM

pub fn rpre(&mut self) -> RPRE_W[src]

Bits 8:11 - RPRE

pub fn roen(&mut self) -> ROEN_W[src]

Bit 16 - ROEN

pub fn roes(&mut self) -> ROES_W[src]

Bit 17 - ROES

pub fn rowm(&mut self) -> ROWM_W[src]

Bit 18 - ROWM

pub fn roap(&mut self) -> ROAP_W[src]

Bit 19 - ROAP

pub fn rolf(&mut self) -> ROLF_W[src]

Bit 20 - ROLF