| 数据搜索系统,热门电子元器件搜索 |
|
STMPE811 数据表(PDF) 45 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STMPE811 数据表(HTML) 45 Page - STMicroelectronics |
|
45 / 54 page ![]() STMPE811 GPIO controller 45/54 13 GPIO controller A total of 8 GPIOs are available in the STMPE811 port expander device. Most of the GPIOs share physical pins with some alternate functions. The GPIO controller contains the registers that allow the host system to configure each of the pins into either a GPIO, or one of the alternate functions. Unused GPIOs should be configured as outputs to minimize power consumption. A group of registers are used to control the exact function of each of the 8 GPIOs. The registers and their respective addresses are listed in the following table. All GPIO registers are named as GPIO-x, where x represents the functional group. Table 17. GPIO control registers Address Register name Size (bit) Function 0x10 GPIO_SET_PIN 8 Set pin register 0x11 GPIO_CLR_PIN 8 Clear pin state 0x12 GPIO_MP_STA 8 Monitor pin state 0x13 GPIO_DIR 8 Set pin direction 0x14 GPIO_ED 8 Edge detect status 0x15 GPIO_RE 8 Rising edge 0x16 GPIO_FE 8 Falling edge 0x17 GPIO_ALT_FUNCT 8 Alternate function register 76543 2 1 0 GPIO-7 GPIO-6 GPIO-5 GPIO-4 GPIO-3 GPIO-2 GPIO-1 GPIO-0 |
|
链接网址 |
| 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 |