Enum nrf52832_pac::pwm0::decoder::LOADR
source · pub enum LOADR {
COMMON,
GROUPED,
INDIVIDUAL,
WAVEFORM,
}
Expand description
Possible values of the field LOAD
Variants§
COMMON
1st half word (16-bit) used in all PWM channels 0..3
GROUPED
1st half word (16-bit) used in channel 0..1; 2nd word in channel 2..3
INDIVIDUAL
1st half word (16-bit) in ch.0; 2nd in ch.1; …; 4th in ch.3
WAVEFORM
1st half word (16-bit) in ch.0; 2nd in ch.1; …; 4th in COUNTERTOP
Implementations§
source§impl LOADR
impl LOADR
sourcepub fn is_grouped(&self) -> bool
pub fn is_grouped(&self) -> bool
Checks if the value of the field is GROUPED
sourcepub fn is_individual(&self) -> bool
pub fn is_individual(&self) -> bool
Checks if the value of the field is INDIVIDUAL
sourcepub fn is_wave_form(&self) -> bool
pub fn is_wave_form(&self) -> bool
Checks if the value of the field is WAVEFORM