| 数据搜索系统,热门电子元器件搜索 |
|
STLUX385ATR 数据表(PDF) 33 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STLUX385ATR 数据表(HTML) 33 Page - STMicroelectronics |
|
33 / 99 page ![]() DocID024387 Rev 2 33/98 STLUX385A I/O multifunction signal configuration Note: The P1[5:0] output signals may be read back from the P1_IDR register only when the pins are configured as GPIO out or PWM signals. The PWM internal signal is read-back also by the its own SMED through the SMD<n>_FSM_STS register 5.3.2 P1 programmable pull-up feature The pad pull-up resistances (47 k Ω) of Port1 may be configured through the GPIO1 internal register. 5.4 Port P2 I/O multifunction configuration signal The Port2 I/O multifunction pins, similarly to Port0 and Port2, can be individually configured through the following set of registers based on the selected device configuration policy: • Cold configuration: AFR_IOMXP2 option byte registers (refer to Section 8). After reset the P2 signals are configured in line with AFR_IOMXP2 contents. • Warm configuration: MISC_IOMXP2 miscellaneous register (refer to Section 5.5). After reset the P2 signals are configured as DIGINs input lines with pull-up enabled. The following table summarizes the port P2 configurations selected by the register fields Sel_p25…Sel_p20 which respectively control the bits [5]…[0] of port P2. Note: Sel_p254 is a common register field of both registers MSC_IOMXP2 and AFR_IOMXP2. The peripheral conflict (same resources selected on different pins at the same time) has to be prevented by SW configuration. The option byte AFR_IOMXP2 before user configuration by default selects the I2C alternative functionality. The signal ports P2[3:1] are exclusively interconnected with DIGIN[3:1] primary pins. When the I2C i/f is selected on DIGIN[5:4] signals the I/O speed is auto-configured at 10 MHz and the internal pull-up functionality is controlled by the MSC_INPP2AUX1 register. The P2[0] signal for backward product compatibility is only controlled by field CCOEN of CKC_CCOR register as shown in the previous table. Table 6. Port P2 I/O multiplexing signal Port P2 multifunction configuration signal Output signal Multi-function signal Mux Sel Selection bits Value (binary) P2[0] DIGIN[0] CCOEN 0 CCO 1 P2[4] DIGIN[4] Sel_p254 1 I 2 C_sda 0 P2[5] DIGIN[5] Sel_p254 1 I 2 C_scl 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 |