Fujitsu FR81S User Manual
CHAPTER 11: I/O PORTS
5. Operation
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER : I/O PORTS
FUJITSU SEMICONDUCTOR CONFIDENTIAL
54
5.1.5. Port Function (Input) Assignment
The port function (input) assignment is shown below.
Preparation
⋅
For a pin with the AD converter function, set the applicable bit in the analog input enable register
(ADER) of the AD converter to "Port I/O mode". For information on the setting method, see
"CHAPTER: A/D CONVERTER".
(1)Set the PFR to enable the port function.
(2)Set the DDR for input.
Figure 5-6 Port Function (Input) Assignment Procedure
EPFR
PFR
Peripheral
output value
External bus
Output value
Pin
PDR
DDR
Peripheral I/O
direction control
External bus I/O
direction control
To peripheral
input value
To input I/O relocation selection circuit
Input I/O relocation selection circuit
To external bus input value
Input value from each pins
To peripheral input value
PDDR
EPFR
(1)
(2)
MB91520 Series
MN705-00010-1v0-E
449