Enum nrf52832_pac::saadc::samplerate::MODER
source · pub enum MODER {
TASK,
TIMERS,
}
Expand description
Possible values of the field MODE
Variants§
TASK
Rate is controlled from SAMPLE task
TIMERS
Rate is controlled from local timer (use CC to control the rate)
Implementations§
source§impl MODER
impl MODER
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)