pub enum ReadMode {
    Instant,
    WaitForNextCapture,
}
Expand description

How the data is read from the timer

Variants§

§

Instant

Return the latest captured data

§

WaitForNextCapture

Wait for one period of the signal before computing the frequency and the duty cycle The microcontroller will be halted for at most two period of the input signal.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.