參數(shù)資料
型號(hào): STMPE2401TBR
廠商: STMICROELECTRONICS
元件分類: 微控制器/微處理器
英文描述: 24 I/O, PIA-GENERAL PURPOSE, PBGA36
封裝: LEAD FREE, TFBGA-36
文件頁(yè)數(shù): 20/55頁(yè)
文件大小: 959K
代理商: STMPE2401TBR
STMPE2401
Interrupt system
27/55
9.7
Programming sequence
To configure and initialize the Interrupt Controller to allow interruption to host, observe the
following steps:
Set the IER and IEGPIOR registers to the desired values to enable the interrupt
sources that are to be expected to receive from.
Configure the output interrupt type and polarity and enable the global interrupt mask by
writing to the ICR.
Wait for interrupt.
Upon receiving an interrupt, the INT pin is asserted.
The host comes to read the ISR through I2C interface. A ‘1’ in the ISR bits indicates
that the corresponding interrupt source is triggered.
If the IS8 bit in ISR is set, the interrupt is coming from the GPIO Controller. Then, a
subsequent read is performed on the ISGPIOR to obtain the interrupt status of all 16
GPIOs to locate the GPIO that triggers the interrupt. This is a feature so-called ‘Hot
Key’.
After obtaining the interrupt source that triggers the interrupt, the host performs the
necessary processing and operations related to the interrupt source.
If the interrupt source is from the GPIO Controller, two write operations with value of ‘1’
are performed to the ISG[x] bit (ISGPIOR) and the IS[8] (ISR) to clear the
corresponding GPIO interrupt.
If the interrupt source is from other module, a write operation with value of ‘1’ is
performed to the IS[x] (ISR) to clear the corresponding interrupt.
Once the interrupt is being cleared, the INT pin will also be de-asserted if the interrupt
type is level interrupt. An edge interrupt will only assert a pulse width of 250ns.
When the interrupt is no longer required, the IC0 bit in ICR may be set to ‘0’ to disable
the global interrupt mask bit.
相關(guān)PDF資料
PDF描述
STMPE801MTR 8 I/O, PIA-GENERAL PURPOSE, PDSO16
STMPS2262MTR 4 I/O, PIA-GENERAL PURPOSE, PDSO8
STN8810B2S12HPI 32-BIT, 264 MHz, RISC PROCESSOR, PBGA26
STN8810BES12HPBE 32-BIT, 264 MHz, RISC PROCESSOR, PBGA26
STP1012PGA-110 32-BIT, 110 MHz, RISC PROCESSOR, CPGA321
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
STMPE2403 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:24-bit Enhanced port expander with Keypad and PWM controller Xpander logic
STMPE2403TBR 功能描述:接口 - 專用 24-bit Enhanced RoHS:否 制造商:Texas Instruments 產(chǎn)品類型:1080p60 Image Sensor Receiver 工作電源電壓:1.8 V 電源電流:89 mA 最大功率耗散: 最大工作溫度:+ 85 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:BGA-59
STMPE24M31QTR 功能描述:電容觸摸傳感器 S-Touch 24 Cap Sens 15fF 512 Steps 30pF RoHS:否 制造商:Microchip Technology 電源電壓: 通道數(shù)量: 封裝 / 箱體: 尺寸: 溫度范圍:
STMPE321 制造商:STMicroelectronics 功能描述:3-channel touchkey controller
STMPE321QTR 功能描述:觸摸屏轉(zhuǎn)換器和控制器 3-channel CAP Touch Key Controller RoHS:否 制造商:Microchip Technology 類型:Resistive Touch Controllers 輸入類型:3 Key 數(shù)據(jù)速率:140 SPS 分辨率:10 bit 接口類型:4-Wire, 5-Wire, 8-Wire, I2C, SPI 電源電壓:2.5 V to 5.25 V 電源電流:17 mA 工作溫度:- 40 C to + 85 C 封裝 / 箱體:SSOP-20