English
Language : 

STMPE812A Datasheet, PDF (21/53 Pages) STMicroelectronics – Integrated 4-wire resistive touchscreen controller, pen-down/real-time mode, fullyautonomous
STMPE812A
8
Interrupt system
Interrupt system
The STMPE812A uses a 2-tier interrupt structure. In normal mode, interrupts from the GPIO
and touchscreen controller assert the INT pin and are available in the Interrupt Status
register (ISR).
In pen down mode, the INT pin is asserted as long as pen down is detected.
Since the INT pin is a OR function of the pen down and all other enabled interrupts, in order
for INT pin to provide the exclusive indication of pen down (INT = Low) and pen up
(INT = High), as such benefit from minimal I2C transactions, it is recommended to use pen
down mode when the GPIO/PWM/ADC functions are not required or the GPIO/PWM/ADC
interrupts are disabled.
Figure 7. Interrupt system diagram
0%.$/7.-/$%
0%.$/7. !.$
4OUCHSCREENSTATUS
07-'0)/ACTIVITY
)NTERRUPT
STATUS
)NTERRUPT
ENABLE
!.$
).4PIN
/2
!-6
Doc ID 18225 Rev 4
21/53