English
Language : 

STMPE16M31PX Datasheet, PDF (31/75 Pages) STMicroelectronics – Up to 30 pF external reference capacitor
STMPE16M31PX
8
Interrupt service routine
Interrupt service routine
On receiving an interrupt, system software should:
Read InterruptStatus
If (GPIO.bit==1)
{
Read InterruptStatusGPIO
Process GPIO INT
) Write InterruptStatusGPIO to clear the corresponding bit
t(s Write InterruptStatus to clear the corresponding bit
uc }
Prod If (PWM.bit==1)
te {
le Read InterruptStatusPWM
so Process PWM INT
Ob Write InterruptStatusPWM to clear the corresponding bit
- Write InterruptStatus to clear the corresponding bit
t(s) }
duc If ( EV_ALARM or TOUCHSCREEN or TOUCHKEY)
ro {
P Process INT
leteWrite InterruptStatus to clear the corresponding bit
Obso }
Doc ID 17058 Rev 2
31/75