Enum nrf52840_pac::pwm0::decoder::LOAD_A
source · #[repr(u8)]pub enum LOAD_A {
COMMON = 0,
GROUPED = 1,
INDIVIDUAL = 2,
WAVE_FORM = 3,
}
Expand description
How a sequence is read from RAM and spread to the compare register
Value on reset: 0
Variants§
COMMON = 0
0: 1st half word (16-bit) used in all PWM channels 0..3
GROUPED = 1
1: 1st half word (16-bit) used in channel 0..1; 2nd word in channel 2..3
INDIVIDUAL = 2
2: 1st half word (16-bit) in ch.0; 2nd in ch.1; …; 4th in ch.3
WAVE_FORM = 3
3: 1st half word (16-bit) in ch.0; 2nd in ch.1; …; 4th in COUNTERTOP
Trait Implementations§
impl Copy for LOAD_A
impl StructuralPartialEq for LOAD_A
Auto Trait Implementations§
impl Freeze for LOAD_A
impl RefUnwindSafe for LOAD_A
impl Send for LOAD_A
impl Sync for LOAD_A
impl Unpin for LOAD_A
impl UnwindSafe for LOAD_A
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)