| 数据搜索系统,热门电子元器件搜索 |
|
STMPE2401 数据表(PDF) 30 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STMPE2401 数据表(HTML) 30 Page - STMicroelectronics |
|
30 / 55 page ![]() GPIO controller STMPE2401 30/55 10.2 GPIO alternate function register (GPAFR) GPAFR is to select the functionality of the GPIO pin. To select a function for a GPIO pin, a bit-pair in the register (GPAFR_U or GPAFR_L) has to be set. Register name Function GPIO Edge Detect Status Set to ‘1’ by hardware when there is a rising/falling edge on the corre- sponding 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 Pull Down Set to ‘1’ to enable internal pull-down resistor Table 28. Bit’s function GPAFR_U_msb Bit 23 22212019181716 AF23 AF22 AF21 AF20 R/W RW RW RWRWRW RWRWRW Reset Value 0 0 0 000 00 GPAFR_U_csb Bit 15 1413121110 9 8 AF19 AF18 AF17 AF16 R/W RW RW RWRWRW RWRWRW Reset Value 0 0 0 000 00 GPAFR_U_lsb Bit 7 65 432 10 AF15 AF14 AF13 AF12 R/W RW RW RWRWRW RWRWRW Reset Value 0 0 0 000 00 |
|
链接网址 |
| 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 |