MTB CAT1 Peripheral driver library
cy_stc_ks_config_t Struct Reference

Description

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.
 

Field Documentation

◆ ghostEnable

bool cy_stc_ks_config_t::ghostEnable

Enable ghost detection.

◆ cpuWakeupEnable

bool cy_stc_ks_config_t::cpuWakeupEnable

enables the keyscan block to wake the MCU module if key is detected.