Section 7 I/O Ports
Rev. 1.00 Apr. 28, 2008 Page 145 of 994
REJ09B0452-0100
7.1.2
Data Register (PnDR) (n = 1 to 6, 8, and 9)
DR is a register that stores output data of the pins to be used as the general output port. Since the
P96DR bit is determined by the state of the P96 pin, the initial value is undefined. The upper five
bits in P5DR and the upper one bit in P8DR are reserved.
Bit
Bit Name
Initial Value
R/W
Description
7 Pn7DR 0
R/W
6 Pn6DR 0
R/W
5 Pn5DR 0
R/W
4 Pn4DR 0
R/W
3 Pn3DR 0
R/W
2 Pn2DR 0
R/W
1 Pn1DR 0
R/W
0 Pn0DR 0
R/W
PnDR stores output data for the pins that are used
as the general output port.
When the PORTS bit in PTCNT2 is 0, reading this
register reads out the current settings of these bits
for pins corresponding to PnDDR bits set to 1 and
reads out the states of pins corresponding to
PnDDR bits cleared to 0.
7.1.3
Input Data Register (PnPIN) (n = 1 to 9 and A to J)
PIN is an 8-bit read-only register that reflects the port pin state. A write to PIN is invalid. The
upper five bits in P5PIN, the upper one bit in P8PIN, the upper three bits in PEPIN, and the upper
two bits in PHPIN are reserved.
Bits P1PIN to P9PIN are valid only when PORTS in PTCNT2 is 1.
Bit
Bit Name Initial Value
R/W
Description
7 Pn7PIN
Undefined
*
R
6 Pn6PIN
Undefined
*
R
5 Pn5PIN
Undefined
*
R
4 Pn4PIN
Undefined
*
R
3 Pn3PIN
Undefined
*
R
2 Pn2PIN
Undefined
*
R
1 Pn1PIN
Undefined
*
R
0 Pn0PIN
Undefined
*
R
When this register is read, the pin states are
returned.
Note:
*
The initial values of these pins are determined in accordance with the states of pins Pn7
to Pn0.
Summary of Contents for H8S/2100 Series
Page 2: ...Rev 1 00 Apr 28 2008 Page ii of xxvi...
Page 54: ...Section 1 Overview Rev 1 00 Apr 28 2008 Page 28 of 994 REJ09B0452 0100...
Page 92: ...Section 2 CPU Rev 1 00 Apr 28 2008 Page 66 of 994 REJ09B0452 0100...
Page 158: ...Section 5 Interrupt Controller Rev 1 00 Apr 28 2008 Page 132 of 994 REJ09B0452 0100...
Page 244: ...Section 8 8 Bit PWM Timer PWMU Rev 1 00 Apr 28 2008 Page 218 of 994 REJ09B0452 0100...
Page 330: ...Section 10 16 Bit Timer Pulse Unit TPU Rev 1 00 Apr 28 2008 Page 304 of 994 REJ09B0452 0100...
Page 416: ...Section 13 8 Bit Timer TMR Rev 1 00 Apr 28 2008 Page 390 of 994 REJ09B0452 0100...
Page 612: ...Section 18 I 2 C Bus Interface IIC Rev 1 00 Apr 28 2008 Page 586 of 994 REJ09B0452 0100...
Page 706: ...Section 20 LPC Interface LPC Rev 1 00 Apr 28 2008 Page 680 of 994 REJ09B0452 0100...
Page 752: ...Section 21 FSI Interface Rev 1 00 Apr 28 2008 Page 726 of 994 REJ09B0452 0100...
Page 774: ...Section 23 RAM Rev 1 00 Apr 28 2008 Page 748 of 994 REJ09B0452 0100...
Page 1008: ...Section 28 Electrical Characteristics Rev 1 00 Apr 28 2008 Page 982 of 994 REJ09B0452 0100...
Page 1020: ...Rev 1 00 Apr 28 2008 Page 994 of 994 REJ09B0452 0100...
Page 1023: ......
Page 1024: ...H8S 2117R Group Hardware Manual...