Section 8
I/O Ports
Rev. 1.00 Mar. 12, 2008 Page 225 of 1178
REJ09B0403-0100
8.1.7 Port
7
Port 7 is an 8-bit input port. Port 7 pins can also function as the A/D converter analog input pins.
Port 7 has the following register.
•
Port 7 input data register (P7PIN)
(1)
Port 7 Input Data Register (P7PIN)
P7PIN indicates the states of the port 7 pins.
Bit
Bit Name
Initial Value
R/W Description
7 P77PIN Undefined
*
R
6 P76PIN Undefined
*
R
5 P75PIN Undefined
*
R
4 P74PIN Undefined
*
R
3 P73PIN Undefined
*
R
2 P72PIN Undefined
*
R
1 P71PIN Undefined
*
R
0 P70PIN Undefined
*
R
When this register is read, the pin states are read.
Since this register is allocated to the same address as
PBDDR, writing to this register writes data to PBDDR
and the port B setting is changed.
Note:
*
The initial values are determined in accordance with the pin states of P77 to P70.
(2)
Pin Functions
Each pin of port 7 can also be used as the analog input pins of the A/D converter (AN0 to AN7).
•
P77/AN7
The pin function is switched as shown below according to the CH2 to CH0 bits in ADCSR of
the A/D converter. Do not set these bits to other values than those shown in the following
table.
CH2 to CH0
B'111
Other than B'111
Pin function
AN7 input pin
P77 input pin
Summary of Contents for H8S Family
Page 2: ...Rev 1 00 Mar 12 2008 Page ii of xIviii...
Page 8: ...Rev 1 00 Mar 12 2008 Page viii of xIviii...
Page 28: ...Rev 1 00 Mar 12 2008 Page xxviii of xIviii...
Page 48: ...Rev 1 00 Mar 12 2008 Page xlviii of xIviii...
Page 70: ...Section 1 Overview Rev 1 00 Mar 12 2008 Page 22 of 1178 REJ09B0403 0100...
Page 108: ...Section 2 CPU Rev 1 00 Mar 12 2008 Page 60 of 1178 REJ09B0403 0100...
Page 116: ...Section 3 MCU Operating Modes Rev 1 00 Mar 12 2008 Page 68 of 1178 REJ09B0403 0100...
Page 152: ...Section 5 Interrupt Controller Rev 1 00 Mar 12 2008 Page 104 of 1178 REJ09B0403 0100...
Page 206: ...Section 6 Bus Controller BSC Rev 1 00 Mar 12 2008 Page 158 of 1178 REJ09B0403 0100...
Page 420: ...Section 9 14 Bit PWM Timer PWMX Rev 1 00 Mar 12 2008 Page 372 of 1178 REJ09B0403 0100...
Page 476: ...Section 12 Watchdog Timer WDT Rev 1 00 Mar 12 2008 Page 428 of 1178 REJ09B0403 0100...
Page 552: ...Section 14 CRC Operation Circuit CRC Rev 1 00 Mar 12 2008 Page 504 of 1178 REJ09B0403 0100...
Page 712: ...Section 18 I2 C Bus Interface IIC Rev 1 00 Mar 12 2008 Page 664 of 1178 REJ09B0403 0100...
Page 804: ...Section 19 LPC Interface LPC Rev 1 00 Mar 12 2008 Page 756 of 1178 REJ09B0403 0100...
Page 838: ...Section 20 Ethernet Controller EtherC Rev 1 00 Mar 12 2008 Page 790 of 1178 REJ09B0403 0100...
Page 964: ...Section 24 RAM Rev 1 00 Mar 12 2008 Page 916 of 1178 REJ09B0403 0100...
Page 1066: ...Section 25 Flash Memory Rev 1 00 Mar 12 2008 Page 1018 of 1178 REJ09B0403 0100...
Page 1098: ...Section 26 Boundary Scan JTAG Rev 1 00 Mar 12 2008 Page 1050 of 1178 REJ09B0403 0100...
Page 1226: ...Rev 1 00 Mar 12 2008 Page 1178 of 1178 REJ09B0403 0100...
Page 1229: ......
Page 1230: ...H8S 2472 Group H8S 2462 Group Hardware Manual...