| Electronic Components Datasheet Search |
|
H83069RF Datasheet(PDF) 282 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H83069RF Datasheet(HTML) 282 Page - Renesas Technology Corp |
|
282 / 1003 page ![]() Rev. 5.0, 09/04, page 260 of 978 8.3.2 Register Descriptions Table 8.3 summarizes the registers of port 2. Table 8.3 Port 2 Registers Initial Value Address* Name Abbreviation R/W Modes 1 to 4 Modes 5 and 7 H'EE001 Port 2 data direction register P2DDR W H'FF H'00 H'FFFD1 Port 2 data register P2DR R/W H'00 H'00 H'EE03C Port 2 input pull-up MOS control register P2PCR R/W H'00 H'00 Note: * Lower 20 bits of the address in advanced mode. Port 2 Data Direction Register (P2DDR): P2DDR is an 8-bit write-only register that can select input or output for each pin in port 2. Bit Modes 1 to 4 Initial value Read/Write Initial value Read/Write Modes 5 and 7 7 P2 DDR 1 — 0 W 7 6 P2 DDR 1 — 0 W 6 5 P2 DDR 1 — 0 W 5 4 P2 DDR 1 — 0 W 4 3 P2 DDR 1 — 0 W 3 2 P2 DDR 1 — 0 W 2 1 P2 DDR 1 — 0 W 1 0 P2 DDR 1 — 0 W 0 Port 2 data direction 7 to 0 These bits select input or output for port 2 pins Modes 1 to 4 (Expanded Modes with On-Chip ROM Disabled): P2DDR values are fixed at 1. Port 2 functions as an address bus. Mode 5 (Expanded Mode with On-Chip ROM Enabled): Following a reset, port 2 is an input port. A pin in port 2 becomes an address output pin if the corresponding P2DDR bit is set to 1, and a generic input port if this bit is cleared to 0. Mode 7 (Single-Chip Mode): Port 2 functions as an input/output port. A pin in port 2 becomes an output port if the corresponding P2DDR bit is set to 1, and an input port if this bit is cleared to 0. |
|
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 |