Sense

Type Alias Sense 

Source
pub type Sense = Sense0select;

Aliased Type§

#[repr(u8)]
pub enum Sense { None = 0, Rise = 1, Fall = 2, Both = 3, High = 4, Low = 5, }

Variants§

§

None = 0

0: No detection

§

Rise = 1

1: Rising-edge detection

§

Fall = 2

2: Falling-edge detection

§

Both = 3

3: Both-edges detection

§

High = 4

4: High-level detection

§

Low = 5

5: Low-level detection