Type Definition stm32g0::stm32g041::pwr::cr1::W[][src]

type W = W<u32, CR1>;

Writer for register CR1

Implementations

impl W[src]

pub fn lpr(&mut self) -> LPR_W<'_>[src]

Bit 14 - Low-power run

pub fn vos(&mut self) -> VOS_W<'_>[src]

Bits 9:10 - Voltage scaling range selection

pub fn dbp(&mut self) -> DBP_W<'_>[src]

Bit 8 - Disable backup domain write protection

pub fn fpd_lpslp(&mut self) -> FPD_LPSLP_W<'_>[src]

Bit 5 - Flash memory powered down during Low-power sleep mode

pub fn fpd_lprun(&mut self) -> FPD_LPRUN_W<'_>[src]

Bit 4 - Flash memory powered down during Low-power run mode

pub fn fpd_stop(&mut self) -> FPD_STOP_W<'_>[src]

Bit 3 - Flash memory powered down during Stop mode

pub fn lpms(&mut self) -> LPMS_W<'_>[src]

Bits 0:2 - Low-power mode selection