| Electronic Components Datasheet Search |
|
H8/3021 Datasheet(PDF) 163 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
H8/3021 Datasheet(HTML) 163 Page - Renesas Technology Corp |
|
163 / 712 page ![]() 7. I/O Ports Rev.2.00 Mar. 22, 2007 Page 139 of 684 REJ09B0352-0200 Port 2 Data Register (P2DR): P2DR is an 8-bit readable/writable register that stores data for pins P2 7 to P20. 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 When a bit in P2DDR is set to 1, if port 2 is read the value of the corresponding P2DR bit is returned directly, regardless of the actual state of the pin. When a bit in P2DDR is cleared to 0, if port 2 is read the corresponding pin level is read. 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 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 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 When a P2DDR bit is cleared to 0 (selecting generic input) in modes 7 to 5, if the corresponding bit from P2 7PCR to P20PCR 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. |
|
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 |