Type Definition gd32f1::gd32f170::pmu::ctl::STBMOD_R [−][src]
type STBMOD_R = R<bool, STBMOD_A>;
Reader of field STBMOD
Implementations
impl STBMOD_R
[src]
pub fn variant(&self) -> STBMOD_A
[src]
Get enumerated values variant
pub fn is_deep_sleep(&self) -> bool
[src]
Checks if the value of the field is DEEPSLEEP
pub fn is_standby(&self) -> bool
[src]
Checks if the value of the field is STANDBY