stmpe16m31 STMicroelectronics, stmpe16m31 Datasheet - Page 32

no-image

stmpe16m31

Manufacturer Part Number
stmpe16m31
Description
S-touch? 16/24-channel Touchkey Controller With Pwm And Ratio Engines
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
stmpe16m31PXQTR
Manufacturer:
STM
Quantity:
12 495
Part Number:
stmpe16m31QTR
Manufacturer:
ST
Quantity:
20 000
Interrupt service routine
8
32/85
Interrupt service routine
On receiving an interrupt, system software should:
Read InterruptStatus
If (GPIO.bit==1)
{
Read InterruptStatusGPIO
Write InterruptStatus to clear the corresponding bit
}
If (PWM.bit==1)
{
Read InterruptStatusPWM
Write InterruptStatus to clear the corresponding bit
}
If ( EV_ALARM or TOUCHSCREEN or TOUCHKEY or RE1/2)
{
}
Process INT
Write InterruptStatus to clear the corresponding bit
Process GPIO INT
Write InterruptStatusGPIO to clear the corresponding bit
Process PWM INT
Write InterruptStatusPWM to clear the corresponding bit
Doc ID 16174 Rev 3
STMPE16M31, STMPE24M31

Related parts for stmpe16m31