| 数据搜索系统,热门电子元器件搜索 |
|
ST10F280 数据表(PDF) 88 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST10F280 数据表(HTML) 88 Page - STMicroelectronics |
|
88 / 186 page ![]() ST10F280 88/186 DP4 (FFCAh / E5h) SFR Reset Value: - - 00h For CAN configuration support (see Chapter 15 - CAN Modules), Port 4 has a new open drain function, controlled with the new ODP4 register: ODP4 (F1CAh / E5h) SFR Reset Value: - - 00h Note: Only bits 6 and 7 are implemented, all other bits will be read as “0”. 12.6.1 - Alternate Functions of Port 4 During external bus cycles that use segmentation (i.e. an address space above 64K Bytes) a num- ber of Port 4 pins may output the segment address lines. The number of pins used for seg- ment address output determines the directly accessible external address space. The other pins of Port 4 may be used for general purpose I/O. If segment address lines are selected, the alternate function of Port 4 may be necessary to access e.g. external memory directly after reset. For this reason Port 4 will be switched to this alternate function automatically. The number of segment address lines is selected via PORT0 during reset. The selected value can be read from bitfield SALSEL in register RP0H (read only) to check the configuration during run time. Devices with CAN interfaces use 2 pins of Port 4 to interface each CAN Module to an external CAN transceiver. In this case the number of possible segment address lines is reduced. The table below summarizes the alternate func- tions of Port 4 depending on the number of selected segment address lines (coded via bitfield SALSEL).. 15 14 13 12 11 10 9876543210 -------- DP4.7 DP4.6 DP4.5 DP4.4 DP4.3 DP4.2 DP4.1 DP4.0 RW RW RW RW RW RW RW RW Bit Function DP4.y Port direction register DP4 bit y DP4.y = 0: Port line P4.y is an input (high-impedance) DP4.y = 1: Port line P4.y is an output 15 14 13 12 11 10 9876543210 -------- ODP4. 7 ODP4. 6 ------ RW RW Bit Function ODP4.y Port 4 Open drain control register bit y ODP4.y = 0: Port line P4.y output driver in push/pull mode ODP4.y = 1: Port line P4.y output driver in open drain mode if P4.y is not a segment address line output Port 4 Pin Std. Function SALSEL=01 64 KB Altern. Function SALSEL=11 256KB Altern. Function SALSEL=00 1MB Altern. Function SALSEL=10 16MB P4.0 P4.1 P4.2 P4.3 P4.4 P4.5 P4.6 P4.7 GPIO GPIO GPIO GPIO GPIO/CAN2_RxD GPIO/CAN1_RxD GPIO/CAN1_TxD GPIO/CAN2_TxD Seg. Address A16 Seg. Address A17 GPIO GPIO GPIO/CAN2_RxD GPIO/CAN1_RxD GPIO/CAN1_TxD GPIO/CAN2_TxD Seg. Address A16 Seg. Address A17 Seg. Address A18 Seg. Address A19 GPIO/CAN2_RxD GPIO/CAN1_RxD GPIO/CAN1_TxD GPIO/CAN2_TxD Seg. Address A16 Seg. Address A17 Seg. Address A18 Seg. Address A19 Seg. Address A20 Seg. Address A21 Seg. Address A22 Seg. Address A23 |
|
链接网址 |
| 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 |