công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN2591 bảng dữ liệu(PDF) 12 Page - STMicroelectronics

tên linh kiện AN2591
Giải thích chi tiết về linh kiện  In certain applications
PDF  19 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2591 bảng dữ liệu(HTML) 12 Page - STMicroelectronics

Back Button AN2591 Datasheet HTML 8Page - STMicroelectronics AN2591 Datasheet HTML 9Page - STMicroelectronics AN2591 Datasheet HTML 10Page - STMicroelectronics AN2591 Datasheet HTML 11Page - STMicroelectronics AN2591 Datasheet HTML 12Page - STMicroelectronics AN2591 Datasheet HTML 13Page - STMicroelectronics AN2591 Datasheet HTML 14Page - STMicroelectronics AN2591 Datasheet HTML 15Page - STMicroelectronics AN2591 Datasheet HTML 16Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 19 page
background image
Using a STMPE801 (I²C bus) 8-bit I/O port expander
AN2591
12/19
you must configure the INTPolarity bit and the INT_Enable bit in the SystemControl register
(address = 0x04).
You must read the ISGPIOR register in interrupt routine to determine which GPIO has
generated the interrupt. Each bit of this register, represents the interrupt status of each
GPIO pin.
The VIO pin is provided to fix the voltage used by the GPIOs. The VIO pin level, must be
greater than or equal to the Vcc level.
The RESET input pin is connected to any microcontroller GPIO to initialize the STMPE801
when it is needed.
3.2
Expanding the number of I/Os to 16 lines
The STMPE801 design supports connecting up to two devices in the same I2C bus to obtain
16 additional input/output lines.
Figure 10 shows how two STMPE801 share the two lines of the I2C interface with different
addresses. The first device the has its ADDR0 input connected to ground will have the
address 0x82, whereas the ADDR0 input of the second device is connected to Vcc to fix the
I2C device address to 0x88.
It is possible to use the two interrupt outputs of the two devices to expand the interrupt lines
to 16. Each interrupt output (INT: pin 11) is connected to an interrupt input (two interrupt
inputs are used, see Figure 10).
Note:
When only one interrupt is available in the microcontroller you are using, you can add an
appropriate logic gate to connect the two INT outputs to its inputs and connect the gate
output to the interrupt input of the microcontroller. In this case, to determine which GPIO has
generated the interrupt, you must read the ISGPIOR register of each device).



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com