mikroSDK Reference Manual
STMPE811 INT_STA Register Bits

Macros

#define STMPE811_INT_GPIO   ((uint8_t)( 1 << 7 ))
 
#define STMPE811_INT_ADC   ((uint8_t)( 1 << 6 ))
 
#define STMPE811_INT_TEMP_SENS   ((uint8_t)( 1 << 5 ))
 
#define STMPE811_INT_FIFO_EMPTY   ((uint8_t)( 1 << 4 ))
 
#define STMPE811_INT_FIFO_FULL   ((uint8_t)( 1 << 3 ))
 
#define STMPE811_INT_FIFO_OFLOW   ((uint8_t)( 1 << 2 ))
 
#define STMPE811_INT_FIFO_TH   ((uint8_t)( 1 << 1 ))
 
#define STMPE811_INT_TOUCH_DET   ((uint8_t)( 1 ))
 
#define STMPE811_INT_ALL   ((uint8_t)( 0xff ))
 

Detailed Description

The interrupt status register monitors the status of the interruption from a particular interrupt source to the host. Regardless of whether the INT_EN bits are enabled, the INT_STA bits are still updated. Writing '1' to this register clears the corresponding bits. Writing '0' has no effect.

Macro Definition Documentation

◆ STMPE811_INT_GPIO

#define STMPE811_INT_GPIO   ((uint8_t)( 1 << 7 ))

Any enabled GPIO interrupts.

◆ STMPE811_INT_ADC

#define STMPE811_INT_ADC   ((uint8_t)( 1 << 6 ))

Any enabled ADC interrupts.

◆ STMPE811_INT_TEMP_SENS

#define STMPE811_INT_TEMP_SENS   ((uint8_t)( 1 << 5 ))

Temperature threshold triggering.

◆ STMPE811_INT_FIFO_EMPTY

#define STMPE811_INT_FIFO_EMPTY   ((uint8_t)( 1 << 4 ))

FIFO is empty.

◆ STMPE811_INT_FIFO_FULL

#define STMPE811_INT_FIFO_FULL   ((uint8_t)( 1 << 3 ))

FIFO is full.

◆ STMPE811_INT_FIFO_OFLOW

#define STMPE811_INT_FIFO_OFLOW   ((uint8_t)( 1 << 2 ))

FIFO is overflowed.

◆ STMPE811_INT_FIFO_TH

#define STMPE811_INT_FIFO_TH   ((uint8_t)( 1 << 1 ))

FIFO is above threshold.

◆ STMPE811_INT_TOUCH_DET

#define STMPE811_INT_TOUCH_DET   ((uint8_t)( 1 ))

Touch is detected.

◆ STMPE811_INT_ALL

#define STMPE811_INT_ALL   ((uint8_t)( 0xff ))

All interrupt sources.