ISF15ACP4 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
isf15acp4::ButtonConfig Struct Reference

Switch handling: polarity, debounce, long press and repeat. More...

#include <isf15acp4_types.hpp>

Public Attributes

bool active_low {true}
 The closed switch pulls the pin low (pull-up wiring).
 
uint32_t debounce_ms {20}
 Time a level must be stable to count, 1 to 1000.
 
uint32_t long_press_ms {800}
 Hold time of LongPress, above the debounce time, to 60000.
 
uint32_t repeat_interval_ms {0}
 0 = no repeat; else 10 to 10000 between Repeat events.
 
uint32_t repeat_delay_ms {500}
 Hold time of the first Repeat, to 60000.
 

Detailed Description

Switch handling: polarity, debounce, long press and repeat.


The documentation for this struct was generated from the following file: