Struct qwiic_button_led::InterruptConfig [−][src]
pub struct InterruptConfig { pub pressed: bool, pub clicked: bool, }
Expand description
The button can raise interrupts when pressed and clicked.
Fields
pressed: bool
The button raises an interrupt when pressed.
clicked: bool
The button raises an interrupt when clicked (pressed and released).
Trait Implementations
Performs the conversion.