Struct nrf52832_hal::qdec::Qdec [−][src]
pub struct Qdec { /* fields omitted */ }
Expand description
A safe wrapper around the QDEC
peripheral with associated pins.
Implementations
Takes ownership of the QDEC
peripheral and associated pins, returning a safe wrapper.
LED output pin polarity.
Time period the LED is switched ON prior to sampling (0..511 us).
Marks the interrupt trigger event as handled.
Triggers the QDEC interrupt on the specified number of non-zero samples.
Disables the QDEC interrupt triggering.