| Electronic Components Datasheet Search |
|
H8/3024F Datasheet(PDF) 216 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8/3024F Datasheet(HTML) 216 Page - Renesas Technology Corp |
|
216 / 841 page ![]() Section 7 I/O Ports Rev. 2.00 Sep 20, 2005 page 178 of 800 REJ09B0260-0200 Port 8 Data Direction Register (P8DDR): P8DDR is an 8-bit write-only register that can select input or output for each pin in port 8. Bits 7 to 5 are reserved. They are fixed at 1, and cannot be modified. 7 — 1 — 1 — 6 — 1 — 1 — 5 — 1 — 1 — 4 P8 DDR 1 W 0 W 4 3 P8 DDR 0 W 0 W 3 2 P8 DDR 0 W 0 W 2 1 P8 DDR 0 W 0 W 1 0 P8 DDR 0 W 0 W 0 Reserved bits Port 8 data direction 4 to 0 These bits select input or output for port 8 pins Bit Modes 1 to 4 Initial value Read/Write Initial value Read/Write Modes 5 to 7 • Modes 1 to 5 (Expanded Modes) When bits in P8DDR bit are set to 1, P84 to P81 become CS 0 to CS 3 output pins. When bits in P8DDR are cleared to 0, the corresponding pins become input ports. In modes 1 to 4 (expanded modes with on-chip ROM disabled), following a reset P84 functions as the CS 0 output, while CS 1 to CS 3 are input ports. In mode 5 (expanded mode with on-chip ROM enabled), following a reset CS 0 to CS 3 are all input ports. • Modes 6 and 7 (Single-Chip Mode) Port 8 is a generic input/output port. A pin in port 8 becomes an output port if the corresponding P8DDR bit is set to 1, and an input port if this bit is cleared to 0. P8DDR is a write-only register. Its value cannot be read. All bits return 1 when read. P8DDR is initialized to H'F0 in modes 1 to 4, and to H'E0 in modes 5 to 7, by a reset and in hardware standby mode. In software standby mode P8DDR retains its previous setting. Therefore, if a transition is made to software standby mode while port 8 is functioning as an input/output port and a P8DDR bit is set to 1, the corresponding pin maintains its output state. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |