Moteur de recherche de fiches techniques de composants électroniques
  French  ▼
ALLDATASHEET.FR

X  

STMPE1601 Fiches technique(PDF) 30 Page - STMicroelectronics

No de pièce STMPE1601
Description  16-bit enhanced port expander with keypad and PWM controller Xpander Logic
PDF  58 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  STMICROELECTRONICS [STMicroelectronics]
Site Internet  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STMPE1601 Fiches technique(HTML) 30 Page - STMicroelectronics

Back Button STMPE1601 Datasheet HTML 26Page - STMicroelectronics STMPE1601 Datasheet HTML 27Page - STMicroelectronics STMPE1601 Datasheet HTML 28Page - STMicroelectronics STMPE1601 Datasheet HTML 29Page - STMicroelectronics STMPE1601 Datasheet HTML 30Page - STMicroelectronics STMPE1601 Datasheet HTML 31Page - STMicroelectronics STMPE1601 Datasheet HTML 32Page - STMicroelectronics STMPE1601 Datasheet HTML 33Page - STMicroelectronics STMPE1601 Datasheet HTML 34Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 58 page
background image
GPIO controller
STMPE1601
30/58
10.1
GPIO control registers
A group of registers is used to control the exact function of each of the 16 GPIOs.
All the GPIO registers are named as GPxxx_yyy, where:
Xxx represents the functional group
Yyy represents the byte position of the GPIO
Lsb registers control GPIO[7:0]
Msb registers control GPIO[8:15]
The function of each bit is shown in the following table:
Table 19.
Bit description
765
43
21
0
GPxxx_msb
IO-15
IO-14
IO-13
IO-12
IO-11
IO-10
IO-9
IO-8
GPxxx_lsb
IO-7
IO-6
IO-5
IO-4
IO-3
IO-2
IO-1
IO-0
Table 20.
Register description
Register name
Function
GPIO monitor pin state
Reading this bit yields the current state of the bit. Writing has no effect.
GPIO set pin state
Writing ‘1’ to this bit causes the corresponding GPIO to go to ‘1’ state.
Writing ‘0’ has no effect.
GPIO clear pin state
Writing ‘1’ to this bit causes the corresponding GPIO to go to ‘0’ state.
Writing ‘0’ has no effect.
GPIO set pin direction
‘0’ sets the corresponding GPIO to input state, and ‘1’ sets it to output
state
GPIO edge detect status
Set to ‘1’ by hardware when there is a rising/falling edge on the
corresponding GPIO. Writing ‘1’ clears the bit. Writing ‘0’ has no effect.
GPIO rising edge
Set to ‘1’ to enable rising edge detection on the corresponding GPIO.
GPIO falling edge
Set to ‘1’ to enable falling edge detection on the corresponding GPIO.
GPIO pull up
Set to ‘1’ to enable internal pull-up resistor
GPIO alternate function
(upper bit)
‘00’ for primary function
‘01’ for Alternate Function 1
‘10’ for Alternate Function 2
‘11’ - Reserved
GPIO alternate function
(lower bit)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58


Fiches technique Télécharger

Go To PDF Page


Lien URL



ALLDATASHEET vous a-t-il été utile ?  [ DONATE ] 

À propos de Alldatasheet   |   Publicité   |   Contactez-nous   |   Politique de confidentialité   |   Lien vers la fiche technique    |   Echange de liens   |   Fabricants
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