Type Definition efm32lg390_pac::lesense::ctrl::SCANMODE_R
source · [−]pub type SCANMODE_R = FieldReader<u8, SCANMODE_A>;
Expand description
Field SCANMODE
reader - Configure scan mode
Implementations
sourceimpl SCANMODE_R
impl SCANMODE_R
sourcepub fn variant(&self) -> Option<SCANMODE_A>
pub fn variant(&self) -> Option<SCANMODE_A>
Get enumerated values variant
sourcepub fn is_periodic(&self) -> bool
pub fn is_periodic(&self) -> bool
Checks if the value of the field is PERIODIC
sourcepub fn is_oneshot(&self) -> bool
pub fn is_oneshot(&self) -> bool
Checks if the value of the field is ONESHOT