Struct Cms
#[repr(transparent)]pub struct Cms(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl Cms
impl Cms
pub const EDGEALIGNED: Self
pub const EDGEALIGNED: Self
The counter counts up or down depending on the direction bit
pub const CENTERALIGNED1: Self
pub const CENTERALIGNED1: Self
The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
pub const CENTERALIGNED2: Self
pub const CENTERALIGNED2: Self
The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
pub const CENTERALIGNED3: Self
pub const CENTERALIGNED3: Self
The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.
Trait Implementations§
§impl Ord for Cms
impl Ord for Cms
§impl PartialOrd for Cms
impl PartialOrd for Cms
impl Copy for Cms
impl Eq 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 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