keyscan configuration These settings are per KEYSCAN instance.
Data Fields | |
uint8_t | macroDownDebCnt |
macro down debounce count | |
uint8_t | macroUpDebCnt |
macro Up debounce count | |
uint8_t | microDebCnt |
micro debounce count | |
uint8_t | noofRows |
set the number of rows of the key matrix | |
uint8_t | noofColumns |
set the number of columns of the key matrix | |
bool | ghostEnable |
Enable ghost detection. More... | |
bool | cpuWakeupEnable |
enables the keyscan block to wake the MCU module if key is detected. More... | |
bool | clkStayOn |
The keyscan clock will stay on when set; otherwise, the clock will be gated off by when no activity is detected. | |
bool cy_stc_ks_config_t::ghostEnable |
Enable ghost detection.
bool cy_stc_ks_config_t::cpuWakeupEnable |
enables the keyscan block to wake the MCU module if key is detected.