Fig. 8.6 Block Diagram Of Pins Of Port 6 - Fujitsu MB90420/5 (A) Series Hardware Manual

F2mc-16lx family 16-bit microcontrollers
Table of Contents

Advertisement

MB90420/5 (A) SERIES F
n Block diagram of pins of port 6
Figure 8.6 shows the block diagram of the pins of port 6.
ADER
PDR (port data register)
PDR read
PDR write
DDR (port direction register)
DDR write
DDR read
Note:
When using a pin as an input port, write 0 to the DDR6 register bit that corresponds to the pin, and
write 0 to the ADER register bit that corresponds to the pin.
When using a pin as an analog input pin, write 0 to the DDR6 register bit that corresponds to the pin,
and write 1 to the ADER register bit that corresponds to the pin. In this case, the value read from
the PDR6 register is 0.
n Registers for port 6
The registers for port 6 are PDR6, DDR6 and ADER. The bits composing each register correspond to the
pins of port 6 1-to-1. Table 8-24 shows the correspondence between the registers and the pins for port 6.
Table 8-24 Correspondence between Registers and Pins for Port 6
Port Name
PDR6, DDR6, ADER
Port 6
Corresponding pin
2
MC-16LX FAMILY 16-BIT MICROCONTROLLERS HARDWARE MANUAL
Output latch
Direction latch

Fig. 8.6 Block Diagram of Pins of Port 6

Bits of Related Registers and Corresponding Pins
bit 7
bit 6
P67
P66
8-32
Analog input
Standby control (SPL = 1)
bit 5
bit 4
bit 3
P65
P64
P63
Pin
bit 2
bit 1
bit 0
P62
P61
P60

Advertisement

Table of Contents
loading

Table of Contents