Enum Cms
#[repr(u8)]pub enum Cms {
EdgeAligned = 0,
CenterAligned1 = 1,
CenterAligned2 = 2,
CenterAligned3 = 3,
}Variants§
EdgeAligned = 0
The counter counts up or down depending on the direction bit
CenterAligned1 = 1
The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
CenterAligned2 = 2
The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
CenterAligned3 = 3
The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.
Implementations§
Trait Implementations§
impl Copy for Cms
impl Eq for Cms
§impl Ord for Cms
impl Ord for Cms
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 Cms
impl PartialOrd for Cms
impl StructuralPartialEq for Cms
Auto Trait Implementations§
impl Freeze for Cms
impl RefUnwindSafe for Cms
impl Send for Cms
impl Sync for Cms
impl Unpin for Cms
impl UnsafeUnpin for Cms
impl UnwindSafe for Cms
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