MTB CAT1 Peripheral driver library
KeyScan ALL interrupt mask definition

General Description

Specifies the mask value for interrupt status/mask.

Macros

#define MXKEYSCAN_INTR_KEY_EDGE_DONE   (MXKEYSCAN_INTR_KEY_EDGE_Msk)
 keyscan Interrupt KEY EDGE value definition. More...
 
#define MXKEYSCAN_INTR_FIFO_THRESH_DONE   (MXKEYSCAN_INTR_FIFO_THRESH_Msk)
 keyscan Interrupt FIFO THRESHOLD value definition. More...
 
#define MXKEYSCAN_INTR_ALL
 keyscan ALL Interrupt value definition. More...
 

Macro Definition Documentation

◆ MXKEYSCAN_INTR_KEY_EDGE_DONE

#define MXKEYSCAN_INTR_KEY_EDGE_DONE   (MXKEYSCAN_INTR_KEY_EDGE_Msk)

keyscan Interrupt KEY EDGE value definition.

this is used only for waking up the CPU. User has to ignore this for all the key events.

◆ MXKEYSCAN_INTR_FIFO_THRESH_DONE

#define MXKEYSCAN_INTR_FIFO_THRESH_DONE   (MXKEYSCAN_INTR_FIFO_THRESH_Msk)

keyscan Interrupt FIFO THRESHOLD value definition.

triggered when there is one or more events in the keyscan HW FIFO. Firmware reads all the pending events from the HW FIFO and Clears the interrupt. User has to call function Cy_Keyscan_Interrupt_Handler when this interrupt is triggered.

◆ MXKEYSCAN_INTR_ALL

#define MXKEYSCAN_INTR_ALL
Value:
(MXKEYSCAN_INTR_KEY_EDGE_Msk |\
MXKEYSCAN_INTR_FIFO_THRESH_Msk)

keyscan ALL Interrupt value definition.