Type Alias gd32e5::gd32e503::pmu::ctl1::R

source ·
pub type R = R<Ctl1Spec>;
Expand description

Register CTL1 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn dpmod1(&self) -> Dpmod1R

Bit 0 - Enable deep-sleep 1 mode

source

pub fn dpmod2(&self) -> Dpmod2R

Bit 1 - Enable deep-sleep 2 mode