| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
STMPE1601 bảng dữ liệu(PDF) 31 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STMPE1601 bảng dữ liệu(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 |
|
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 |
| 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 |