| 전자부품 데이터시트 검색엔진 |
|
STMPE1601 데이터시트(PDF) 31 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STMPE1601 데이터시트(HTML) 31 Page - STMicroelectronics |
|
31 / 61 page ![]() STMPE1601 GPIO controller 31/61 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 20. 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 21. 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 |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| 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 |