mikroSDK Reference Manual
|
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 )) |
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.
#define STMPE811_INT_GPIO ((uint8_t)( 1 << 7 )) |
Any enabled GPIO interrupts.
#define STMPE811_INT_ADC ((uint8_t)( 1 << 6 )) |
Any enabled ADC interrupts.
#define STMPE811_INT_TEMP_SENS ((uint8_t)( 1 << 5 )) |
Temperature threshold triggering.
#define STMPE811_INT_FIFO_EMPTY ((uint8_t)( 1 << 4 )) |
FIFO is empty.
#define STMPE811_INT_FIFO_FULL ((uint8_t)( 1 << 3 )) |
FIFO is full.
#define STMPE811_INT_FIFO_OFLOW ((uint8_t)( 1 << 2 )) |
FIFO is overflowed.
#define STMPE811_INT_FIFO_TH ((uint8_t)( 1 << 1 )) |
FIFO is above threshold.
#define STMPE811_INT_TOUCH_DET ((uint8_t)( 1 )) |
Touch is detected.
#define STMPE811_INT_ALL ((uint8_t)( 0xff )) |
All interrupt sources.