| 数据搜索系统,热门电子元器件搜索 |
|
H8/3028F 数据表(PDF) 281 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8/3028F 数据表(HTML) 281 Page - Renesas Technology Corp |
|
281 / 923 page ![]() Rev. 2.00, 09/03, page 251 of 890 8.2.2 Register Descriptions Table 8.2 summarizes the registers of port 1. Table 8.2 Port 1 Registers Initial Value Address* Name Abbreviation R/W Modes 1 to 4 Modes 5 to 7 H'EE000 Port 1 data direction register P1DDR W H'FF H'00 H'FFFD0 Port 1 data register P1DR R/W H'00 H'00 Note: * Lower 20 bits of the address in advanced mode. Port 1 Data Direction Register (P1DDR): P1DDR is an 8-bit write-only register that can select input or output for each pin in port 1. Bit Modes 1 to 4 Initial value Read/Write Initial value Read/Write Modes 5 to 7 7 P1 DDR 1 — 0 W 7 6 P1 DDR 1 — 0 W 6 5 P1 DDR 1 — 0 W 5 4 P1 DDR 1 — 0 W 4 3 P1 DDR 1 — 0 W 3 2 P1 DDR 1 — 0 W 2 1 P1 DDR 1 — 0 W 1 0 P1 DDR 1 — 0 W 0 Port 1 data direction 7 to 0 These bits select input or output for port 1 pins Modes 1 to 4 (Expanded Modes with On-Chip ROM Disabled): P1DDR values are fixed at 1. Port 1 functions as an address bus. Mode 5 (Expanded Modes with On-Chip ROM Enabled): After a reset, port 1 functions as an input port. A pin in port 1 becomes an address output pin if the corresponding P1DDR bit is set to 1, and a generic input pin if this bit is cleared to 0. Modes 6 and 7 (Single-Chip Mode): Port 1 functions as an input/output port. A pin in port 1 becomes an output port if the corresponding P1DDR bit is set to 1, and an input port if this bit is cleared to 0. In modes 1 to 4, P1DDR bits are always read as 1, and cannot be modified. In modes 5 to 7, P1DDR is a write-only register. Its value cannot be read. All bits return 1 when read. |
|
链接网址 |
| 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 |