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.