[][src]Enum imxrt1062_pwm1::sm::smcaptctrla::ONESHOTA_A

pub enum ONESHOTA_A {
    ONESHOTA_0,
    ONESHOTA_1,
}

One Shot Mode A

Value on reset: 0

Variants

ONESHOTA_0

0: Free running mode is selected. If both capture circuits are enabled, then capture circuit 0 is armed first after CAPTCTRLA[ARMA] is set. Once a capture occurs, capture circuit 0 is disarmed and capture circuit 1 is armed. After capture circuit 1 performs a capture, it is disarmed and capture circuit 0 is re-armed. The process continues indefinitely.If only one of the capture circuits is enabled, then captures continue indefinitely on the enabled capture circuit.

ONESHOTA_1

1: One shot mode is selected. If both capture circuits are enabled, then capture circuit 0 is armed first after CAPTCTRLA[ARMA] is set. Once a capture occurs, capture circuit 0 is disarmed and capture circuit 1 is armed. After capture circuit 1 performs a capture, it is disarmed and CAPTCTRLA[ARMA] is cleared. No further captures will be performed until CAPTCTRLA[ARMA] is set again.If only one of the capture circuits is enabled, then a single capture will occur on the enabled capture circuit and CAPTCTRLA[ARMA] is then cleared.

Trait Implementations

impl Clone for ONESHOTA_A[src]

impl Copy for ONESHOTA_A[src]

impl Debug for ONESHOTA_A[src]

impl From<ONESHOTA_A> for bool[src]

impl PartialEq<ONESHOTA_A> for ONESHOTA_A[src]

impl StructuralPartialEq for ONESHOTA_A[src]

Auto Trait Implementations

impl Send for ONESHOTA_A

impl Sync for ONESHOTA_A

impl Unpin for ONESHOTA_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, 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.