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§
impl Freeze for ReadMode
impl RefUnwindSafe for ReadMode
impl Send for ReadMode
impl Sync for ReadMode
impl Unpin for ReadMode
impl UnwindSafe for ReadMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more