220
5.5
Port 4
5.5.1
Overview
Port 4 is an 8-bit input-only port. Port 4 pins also function as A/D converter analog input pins
(AN0 to AN7) and D/A converter analog output pins (DA0 and DA1). Port 4 pin functions are the
same in all operating modes.
Figure 5.4 shows the port 4 pin configuration.
P47 (input) / AN7 (input) / DA1 (output)
P46 (input) / AN6 (input) / DA0 (output)
P45 (input) / AN5 (input)
P44 (input) / AN4 (input)
P43 (input) / AN3 (input)
P42 (input) / AN2 (input)
P41 (input) / AN1 (input)
P40 (input) / AN0 (input)
Port 4
Port 4 pins
Figure 5.4 Port 4 Pin Functions
5.5.2
Register Configuration
Table 5.8 shows the port 4 register configuration. Port 4 is an input-only register, and does not
have a data direction register or data register.
Table 5.8
Port 4 Register
Name
Abbreviation
R/W
Initial Value
Address
*
Port 4 register
PORT4
R
Undefined
H'FF53
Note:
*
Lower 16 bits of the address.
Summary of Contents for H8S/2670
Page 5: ......
Page 9: ......
Page 199: ...182 ...
Page 361: ...344 ...
Page 393: ...376 ...
Page 647: ...630 ...