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
sourceimpl 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
Trait Implementations
impl Copy for LOADR
impl StructuralPartialEq for LOADR
Auto Trait Implementations
impl RefUnwindSafe for LOADR
impl Send for LOADR
impl Sync for LOADR
impl Unpin for LOADR
impl UnwindSafe for LOADR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more