Enum Load
#[repr(u8)]pub enum Load {
Common = 0,
Grouped = 1,
Individual = 2,
WaveForm = 3,
}Variants§
Common = 0
1st half word (16-bit) used in all PWM channels 0..3.
Grouped = 1
1st half word (16-bit) used in channel 0..1; 2nd word in channel 2..3.
Individual = 2
1st half word (16-bit) in ch.0; 2nd in ch.1; …; 4th in ch.3.
WaveForm = 3
1st half word (16-bit) in ch.0; 2nd in ch.1; …; 4th in COUNTERTOP.
Implementations§
Trait Implementations§
impl Copy for Load
impl Eq for Load
§impl Ord for Load
impl Ord for Load
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Load
impl PartialOrd for Load
impl StructuralPartialEq for Load
Auto Trait Implementations§
impl Freeze for Load
impl RefUnwindSafe for Load
impl Send for Load
impl Sync for Load
impl Unpin for Load
impl UnsafeUnpin for Load
impl UnwindSafe for Load
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more