#[repr(u8)]pub enum PeriodUpdatingMethod {
Immediately = 0,
TimerEqualsZero = 1,
Sync = 2,
TimerEqualsZeroOrSync = 3,
}
Available on crate feature
unstable
only.Expand description
Method for updating the PWM period
Variants§
Immediately = 0
The period is updated immediately.
TimerEqualsZero = 1
The period is updated when the timer equals zero.
Sync = 2
The period is updated on a synchronization event.
TimerEqualsZeroOrSync = 3
The period is updated either when the timer equals zero or on a synchronization event.
Trait Implementations§
Source§impl Clone for PeriodUpdatingMethod
impl Clone for PeriodUpdatingMethod
Source§fn clone(&self) -> PeriodUpdatingMethod
fn clone(&self) -> PeriodUpdatingMethod
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for PeriodUpdatingMethod
Auto Trait Implementations§
impl Freeze for PeriodUpdatingMethod
impl RefUnwindSafe for PeriodUpdatingMethod
impl Send for PeriodUpdatingMethod
impl Sync for PeriodUpdatingMethod
impl Unpin for PeriodUpdatingMethod
impl UnwindSafe for PeriodUpdatingMethod
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)