Struct gd32f1x0_hal::pac::pmu::ctl::STBMOD_R [−][src]
pub struct STBMOD_R(_);
Expand description
Field STBMOD
reader - Standby Mode
Implementations
impl STBMOD_R
[src]
impl STBMOD_R
[src]pub fn is_deep_sleep(&self) -> bool
[src]
pub fn is_deep_sleep(&self) -> bool
[src]Checks if the value of the field is DEEPSLEEP
pub fn is_standby(&self) -> bool
[src]
pub fn is_standby(&self) -> bool
[src]Checks if the value of the field is STANDBY
Methods from Deref<Target = FieldReader<bool, STBMOD_A>>
pub fn bit_is_clear(&self) -> bool
[src]
pub fn bit_is_clear(&self) -> bool
[src]Returns true
if the bit is clear (0).
pub fn bit_is_set(&self) -> bool
[src]
pub fn bit_is_set(&self) -> bool
[src]Returns true
if the bit is set (1).