| 数据搜索系统,热门电子元器件搜索 |
|
RM0352 数据表(PDF) 19 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
RM0352 数据表(HTML) 19 Page - STMicroelectronics |
|
19 / 138 page ![]() DocID024647 Rev 1 19/138 RM0352 GPIO 137 4 GPIO The Brain device proposes 11 programmable I/Os. Each GPIO provides one programmable input or output that can be controlled in three modes: • GPIO Port mode: direction and data are programmed through registers (see Table 5: GPIO configuration registers) • Serial 0 and Serial 1 modes: the GPIO becomes a peripheral input or output line (see Table 4: GPIO alternate options) Each GPIO can generate an interrupt independently to the selected mode. Interrupts are generated depending on a level or edge. (See Table 5: GPIO configuration registers and Table 6: Edge/level and rising/falling edge interrupt configuration for more details). The base address of the GPIO block in the Brain memory map is 0xA000_0000. Table 4. GPIO alternate options(1) (2) (3) 1. The white color covers resources dedicated to the fix 1.8 V power supply while the gray one are pin resources on the wide range from 1.8 V to 3.3 V power supply. 2. In serial mode 0, I/O 3 MUST be configured as an I 2 C mode pad (i.e. I2C_CONF[1] = 1). In serial mode 1 and GPIO port mode, IO3 MUST be configured as normal mode (I2C_CONF[1] = 0). 3. After reset, IO6 outputs the 80 MHz clock divided by five. Pin no. Ref. Pull Serial mode 0 Serial mode 1 GPIO port mode GPIO_MODE_W = “00” GPIO_MODE_W = “01” GPIO_MODE_W = “10” Type Signal Type Signal Type Signal 2 IO0 Down I/O SW_TDIO/ JTAG TMS I UART_CTS I/O GPIO0 3 IO1 Down I SW_TCK/J TAG TCK O UART_RTS I/O GPIO1 4IO2 Up I I 2 C2_SCL O UART_TXD I/O GPIO2 6 IO3 Down I/O I 2 C2_SDA I UART_RXD I/O GPIO3 7 IO4 Down O JTAG TDO I NA I/O GPIO4 8 IO5 Down I JTAG TDI I NA I/O GPIO5 9 IO8 Up I/O I 2 C1 SDA O SPI_OUT I/O GPIO8 10 IO6 Down O Divided CLK80M O CLK32K I/O GPIO6 11 IO7 Up I/O I 2 C1 SCL I/O SPI_CLK I/O GPIO7 15 IO10 Down I NA I SPI_IN I/O GPIO10 16 IO9 Up I NA I SPI_CS I/O GPIO9 |
|
链接网址 |
| 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 |