KEYSCAN Context configuration These settings are per keyscan context.
Data Fields | |
cy_stc_key_event | bufStart [KEYSCAN_FW_FIFO_SIZE] |
Location where the FW FIFO starts. More... | |
uint8_t | maxNumElements |
Maximum number of elements that can be placed in the FW FIFO. More... | |
uint8_t | curNumElements |
Number of elements currently in the FW FIFO. | |
uint8_t | readIndex |
Read index into the FW FIFO. More... | |
uint8_t | writeIndex |
Write index into the FW FIFO. More... | |
uint8_t | savedWriteIndexForRollBack |
Saved write index for rollback. More... | |
uint8_t | savedNumElements |
Saved number of elements for rollback. More... | |
uint8_t | keysPressedCount |
Number of key down events that are not yet matched by key up events, which gives the number of keys currently being pressed. | |
bool | keyscan_pollingKeyscanHw |
Whether HW polling is done from Keyscan. | |
cy_cb_keyscan_handle_events_t | cbEvents |
callback function | |
cy_stc_key_event cy_stc_keyscan_context_t::bufStart[KEYSCAN_FW_FIFO_SIZE] |
Location where the FW FIFO starts.
Provided during initialization.
uint8_t cy_stc_keyscan_context_t::maxNumElements |
Maximum number of elements that can be placed in the FW FIFO.
Provided during initialization.
uint8_t cy_stc_keyscan_context_t::readIndex |
Read index into the FW FIFO.
uint8_t cy_stc_keyscan_context_t::writeIndex |
Write index into the FW FIFO.
uint8_t cy_stc_keyscan_context_t::savedWriteIndexForRollBack |
Saved write index for rollback.
uint8_t cy_stc_keyscan_context_t::savedNumElements |
Saved number of elements for rollback.