Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

UM0401 Datasheet(PDF) 11 Page - STMicroelectronics

Part # UM0401
Description  User manual for eight bit port expander
PDF  17 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0401 Datasheet(HTML) 11 Page - STMicroelectronics

Back Button UM0401 Datasheet HTML 7Page - STMicroelectronics UM0401 Datasheet HTML 8Page - STMicroelectronics UM0401 Datasheet HTML 9Page - STMicroelectronics UM0401 Datasheet HTML 10Page - STMicroelectronics UM0401 Datasheet HTML 11Page - STMicroelectronics UM0401 Datasheet HTML 12Page - STMicroelectronics UM0401 Datasheet HTML 13Page - STMicroelectronics UM0401 Datasheet HTML 14Page - STMicroelectronics UM0401 Datasheet HTML 15Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 11 / 17 page
background image
UM0401
Running the STMPE801 port expander GUI
11/17
2.2
Programming GPIO
The eight GPIOs can be configured as input or output individually and independently of
each other. The status of the GPIOs can be read and are displayed on the "GPIO-functional"
tab of the GUI as shown in Figure 13.
As shown in Figure 14, GPIOs can be configured as outputs by selecting the corresponding
radio button for IN or OUT assignment and clicking the "GPIO Assignment" button. The
output state can be set to High or Low through the corresponding radio button and clicking
on the "Write" button. The resulting state of the GPIOs can be read and displayed by clicking
on the "Read" button.
Like the Read/Write to internal registers, the correct slave device should be chosen before
the GPIO is configured. If the wrong slave device is chosen, errors appear indicating there is
an error reading the GPMR or writing to GPDR registers depending on the function
performed.
Figure 13.
GPIO Input state screen shot



Html Pages

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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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