pub enum CycleCountMode {
FreeRunning,
SingleCycle,
RangeLimit,
ModuloN,
}Expand description
Enum representing cycle count modes.
Variants§
FreeRunning
Free running count mode.
SingleCycle
single-cycle count mode (counter disabled with carry or borrow, re-enabled with reset or load).
RangeLimit
range-limit count mode (up and down count-ranges limited between DTR and zero, respectively; counting freezes at these limits but resumes when direction reverses. )
ModuloN
Modulo-N count mode (input clock frequency divided by factor of (n+1) where n=DTR, in both up and down directions.)
Trait Implementations§
Source§impl Debug for CycleCountMode
impl Debug for CycleCountMode
Auto Trait Implementations§
impl Freeze for CycleCountMode
impl RefUnwindSafe for CycleCountMode
impl Send for CycleCountMode
impl Sync for CycleCountMode
impl Unpin for CycleCountMode
impl UnsafeUnpin for CycleCountMode
impl UnwindSafe for CycleCountMode
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