Renesas H8S/2111B Network Card User Manual


 
Rev. 1.00, 05/04, page 117 of 544
7.7 Port 7
Port 7 is an 8-bit input only port. Port 7 pins also function as the A/D converter analog input pins.
Port 7 has the following register.
Port 7 input data register (P7PIN)
7.7.1 Port 7 Input Data Register (P7PIN)
P7PIN reflects the pin states of port 7.
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 a P7PIN read is performed, the pin states are
always read. P7PIN has the same address as PBDDR;
if a write is performed, data will be written into PBDDR
and the port B setting will be changed.
Note: * Determined by the pin states of P77 to P70.
7.7.2 Pin Functions
P77, P76
Pin Function P77, P76 input pins
P75/AN5, P74/AN4, P73/AN3, P72/AN2, P71/AN1, P70/AN0
P75 to P70 input pins
Pin Function
AN5 to AN0 input pins*
Note: * These pins can always be used as the AN5 to AN0 input pins respectively.