Enum nrf52832_pac::pwm0::decoder::MODER
source · pub enum MODER {
REFRESHCOUNT,
NEXTSTEP,
}
Expand description
Possible values of the field MODE
Variants§
REFRESHCOUNT
SEQ[n].REFRESH is used to determine loading internal compare registers
NEXTSTEP
NEXTSTEP task causes a new value to be loaded to internal compare registers
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)
sourcepub fn is_refresh_count(&self) -> bool
pub fn is_refresh_count(&self) -> bool
Checks if the value of the field is REFRESHCOUNT
sourcepub fn is_next_step(&self) -> bool
pub fn is_next_step(&self) -> bool
Checks if the value of the field is NEXTSTEP