Datasheet

STMPE811 Interrupt system
Doc ID 14489 Rev 6 27/65
Address: 0x0B
Type: R
Reset: 0x10
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.
GPIO_INT_EN GPIO interrupt enable register
Address: 0x0C
Type: R/W
Reset: 0x00
Description: The GPIO interrupt register enables the GPIO interruption of a particular GPIO
source to the host.
GPIO_INT_STA GPIO interrupt status register
Address: 0x0D
Type: R
Reset: 0x00
Description: The GPIO interrupt status register monitors the status of the interruption from a
particular GPIO pin interrupt source to the host. Regardless of whether or not the
GPIO_INT_STA bits are enabled, the corresponding GPIO_STA bits are still updated.
[7] GPIO: Any enabled GPIO interrupts
[6] ADC: Any enabled ADC interrupts
[5] TEMP_SENS: Temperature threshold triggering
[4] FIFO_EMPTY: FIFO is empty
[3] FIFO_FULL: FIFO is full
[2] FIFO_OFLOW: FIFO is overflowed
[1] FIFO_TH: FIFO is equal or above threshold value.
This bit is set when FIFO level equals to threshold value. It will only be asserted again if FIFO
level drops to < threshold value, and increased back to threshold value.
[0] TOUCH_DET: Touch is detected
76543 2 1 0
IEG[x]
[7:0] IEG[x]: Interrupt enable GPIO mask (where x = 7 to 0)
1: Writing ‘1’ to the IE[x] bit enables the interruption to the host
76543 2 1 0
ISG[x]