Enum lis3dh_async::InterruptMode
source · pub enum InterruptMode {
OrCombination,
Movement,
AndCombination,
Position,
}
Expand description
When to generate an interrupt.
Internal representation:
AOI | 6D | Interrupt mode |
---|---|---|
0 | 0 | OR combination of interrupt events |
0 | 1 | 6-direction movement recognition |
1 | 0 | AND combination of interrupt events |
1 | 1 | 6-direction position recognition |
Variants§
Trait Implementations§
source§impl Clone for InterruptMode
impl Clone for InterruptMode
source§fn clone(&self) -> InterruptMode
fn clone(&self) -> InterruptMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more