| 数据搜索系统,热门电子元器件搜索 |
|
H8/3028F 数据表(PDF) 285 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8/3028F 数据表(HTML) 285 Page - Renesas Technology Corp |
|
285 / 923 page ![]() Rev. 2.00, 09/03, page 255 of 890 P2DDR is initialized to H'FF in modes 1 to 4, and to H'00 in modes 5 to 7, by a reset and in hardware standby mode. In software standby mode it retains its previous setting. Therefore, if a transition is made to software standby mode while port 2 is functioning as an input/output port and a P2DDR bit is set to 1, the corresponding pin maintains its output state. Port 2 Data Register (P2DR): P2DR is an 8-bit readable/writable register that stores output data for Port 2. When port 2 functions as an output port, the value of this register is output. When a bit in P2DDR is set to 1, if port 2 is read the value of the corresponding P2DR bit is returned. When a bit in P2DDR is cleared to 0, if port 2 is read the corresponding pin logic level is read. Bit Initial value Read/Write 7 P2 0 R/W Port 2 data 7 to 0 These bits store data for port 2 pins 7 6 P2 0 R/W 6 5 P2 0 R/W 5 4 P2 0 R/W 4 3 P2 0 R/W 3 2 P2 0 R/W 2 1 P2 0 R/W 1 0 P2 0 R/W 0 P2DR is initialized to H'00 by a reset and in hardware standby mode. In software standby mode it retains its previous setting. Port 2 Input Pull-Up MOS Control Register (P2PCR): P2PCR is an 8-bit readable/writable register that controls the MOS input pull-up transistors in port 2. Bit Initial value Read/Write 7 P2 PCR 0 R/W Port 2 input pull-up MOS control 7 to 0 These bits control input pull-up transistors built into port 2 7 6 P2 PCR 0 R/W 6 5 P2 PCR 0 R/W 5 4 P2 PCR 0 R/W 4 3 P2 PCR 0 R/W 3 2 P2 PCR 0 R/W 2 1 P2 PCR 0 R/W 1 0 P2 PCR 0 R/W 0 In modes 5 to 7, when a P2DDR bit is cleared to 0 (selecting generic input), if the corresponding bit in P2PCR is set to 1, the input pull-up transistor is turned on. P2PCR is initialized to H'00 by a reset and in hardware standby mode. In software standby mode it retains its previous setting. |
|
链接网址 |
| 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 |