#[repr(u8)]pub enum SmtctrlTrgfrq {
EVERYPWM = 0,
FINALPWM = 1,
}Variants§
EVERYPWM = 0
Trigger outputs are generated during every PWM period even if the PWM is not reloaded every period due to CTRL[LDFQ] being non-zero.
FINALPWM = 1
Trigger outputs are generated only during the final PWM period prior to a reload opportunity when the PWM is not reloaded every period due to CTRL[LDFQ] being non-zero.
Implementations§
Source§impl SmtctrlTrgfrq
impl SmtctrlTrgfrq
Trait Implementations§
Source§impl Clone for SmtctrlTrgfrq
impl Clone for SmtctrlTrgfrq
Source§fn clone(&self) -> SmtctrlTrgfrq
fn clone(&self) -> SmtctrlTrgfrq
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SmtctrlTrgfrq
impl Debug for SmtctrlTrgfrq
Source§impl From<SmtctrlTrgfrq> for u8
impl From<SmtctrlTrgfrq> for u8
Source§fn from(val: SmtctrlTrgfrq) -> u8
fn from(val: SmtctrlTrgfrq) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SmtctrlTrgfrq
impl From<u8> for SmtctrlTrgfrq
Source§fn from(val: u8) -> SmtctrlTrgfrq
fn from(val: u8) -> SmtctrlTrgfrq
Converts to this type from the input type.
Source§impl Ord for SmtctrlTrgfrq
impl Ord for SmtctrlTrgfrq
Source§fn cmp(&self, other: &SmtctrlTrgfrq) -> Ordering
fn cmp(&self, other: &SmtctrlTrgfrq) -> Ordering
1.21.0 · 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
Source§impl PartialEq for SmtctrlTrgfrq
impl PartialEq for SmtctrlTrgfrq
Source§impl PartialOrd for SmtctrlTrgfrq
impl PartialOrd for SmtctrlTrgfrq
impl Copy for SmtctrlTrgfrq
impl Eq for SmtctrlTrgfrq
impl StructuralPartialEq for SmtctrlTrgfrq
Auto Trait Implementations§
impl Freeze for SmtctrlTrgfrq
impl RefUnwindSafe for SmtctrlTrgfrq
impl Send for SmtctrlTrgfrq
impl Sync for SmtctrlTrgfrq
impl Unpin for SmtctrlTrgfrq
impl UnwindSafe for SmtctrlTrgfrq
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