Enum stm32f1xx_hal::pwm_input::ReadMode[][src]

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

Performs the conversion.

Performs the conversion.

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.