Enum nrf52840_pac::pwm0::mode::UPDOWN_A
source · pub enum UPDOWN_A {
UP = 0,
UP_AND_DOWN = 1,
}
Expand description
Selects up mode or up-and-down mode for the counter
Value on reset: 0
Variants§
UP = 0
0: Up counter, edge-aligned PWM duty cycle
UP_AND_DOWN = 1
1: Up and down counter, center-aligned PWM duty cycle
Trait Implementations§
impl Copy for UPDOWN_A
impl StructuralPartialEq for UPDOWN_A
Auto Trait Implementations§
impl Freeze for UPDOWN_A
impl RefUnwindSafe for UPDOWN_A
impl Send for UPDOWN_A
impl Sync for UPDOWN_A
impl Unpin for UPDOWN_A
impl UnwindSafe for UPDOWN_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
)