#[repr(u8)]pub enum PulseMode {
FREQ_ME_MODE = 0,
PULSE_ME_MODE = 1,
}Variants§
FREQ_ME_MODE = 0
Frequency Measurement Mode. FREQMECTRL works in a Frequency Measurement mode. Once the measurement starts (real count start is aligned at rising edge arrival on reference clock), the target counter increments by the target clock until the reference counter running by the reference clock reaches the count end point selected by REF_SCALE.
PULSE_ME_MODE = 1
Pulse Width Measurement mode. FREQMECTRL works in a Pulse Width Measurement mode, measuring the high or low period of reference clock input selected by PULSE_POL. The target counter starts incrementing by the target clock once a corresponding trigger edge (rising edge for high period measurement and falling edge for low period) occurs.
Implementations§
Trait Implementations§
Source§impl Ord for PulseMode
impl Ord for PulseMode
Source§impl PartialOrd for PulseMode
impl PartialOrd for PulseMode
impl Copy for PulseMode
impl Eq for PulseMode
impl StructuralPartialEq for PulseMode
Auto Trait Implementations§
impl Freeze for PulseMode
impl RefUnwindSafe for PulseMode
impl Send for PulseMode
impl Sync for PulseMode
impl Unpin for PulseMode
impl UnwindSafe for PulseMode
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