Enum nrf52832_pac::power::ram::power::S1RETENTIONR
source · pub enum S1RETENTIONR {
OFF,
ON,
}
Expand description
Possible values of the field S1RETENTION
Variants§
Implementations§
source§impl S1RETENTIONR
impl S1RETENTIONR
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
Trait Implementations§
source§impl Clone for S1RETENTIONR
impl Clone for S1RETENTIONR
source§fn clone(&self) -> S1RETENTIONR
fn clone(&self) -> S1RETENTIONR
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more