Enum esp32c6_hal::pcnt::unit::ZeroMode
source · pub enum ZeroMode {
PosZero,
NegZero,
Negitive,
Positive,
}
Expand description
the current status of the counter.
Variants§
PosZero
pulse counter decreases from positive to 0.
NegZero
pulse counter increases from negative to 0
Negitive
pulse counter is negative (not implemented?)
Positive
pulse counter is positive (not implemented?)
Trait Implementations§
impl Copy for ZeroMode
Auto Trait Implementations§
impl RefUnwindSafe for ZeroMode
impl Send for ZeroMode
impl Sync for ZeroMode
impl Unpin for ZeroMode
impl UnwindSafe for ZeroMode
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