[][src]Enum ambiq_apollo1_pac::ctimer::ctrl0::TMRB0FN_A

#[repr(u8)]
pub enum TMRB0FN_A {
    SINGLECOUNT,
    REPEATEDCOUNT,
    PULSE_ONCE,
    PULSE_CONT,
    CONTINUOUS,
}

Counter/Timer B0 Function Select.

Value on reset: 0

Variants

SINGLECOUNT

0: Single count (output toggles and sticks). Count to CMPR0B0, stop.

REPEATEDCOUNT

1: Repeated count (periodic 1-clock-cycle-wide pulses). Count to CMPR0B0, restart.

PULSE_ONCE

2: Pulse once (aka one-shot). Count to CMPR0B0, assert, count to CMPR1B, deassert, stop.

PULSE_CONT

3: Pulse continously. Count to CMPR0B0, assert, count to CMPR1B0, deassert, restart.

CONTINUOUS

4: Continuous run (aka Free Run). Count continuously.

Trait Implementations

impl Clone for TMRB0FN_A[src]

impl Copy for TMRB0FN_A[src]

impl Debug for TMRB0FN_A[src]

impl From<TMRB0FN_A> for u8[src]

impl PartialEq<TMRB0FN_A> for TMRB0FN_A[src]

impl StructuralPartialEq for TMRB0FN_A[src]

Auto Trait Implementations

impl Send for TMRB0FN_A

impl Sync for TMRB0FN_A

impl Unpin for TMRB0FN_A

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.