MB95710M Series
MB95770M Series
Document Number: 002-09307 Rev. *D
Page 64 of 172
18.4 Port 4
Port 4 is a general-purpose I/O port. This section focuses on its functions as a general-purpose I/O port. For details of
peripheral functions, refer to their respective chapters in “New 8FX MB95710M/770M Series Hardware Manual”.
18.4.1 Port 4 configuration
Port 4 is made up of the following elements.
• General-purpose I/O pins/peripheral function I/O pins
• Port 4 data register (PDR4)
• Port 4 direction register (DDR4)
18.4.2 Block diagrams of port 4
• P40/SEG21 pin
This pin has the following peripheral function:
• LCDC SEG21 output pin (SEG21)
• P41/SEG20 pin
This pin has the following peripheral function:
• LCDC SEG20 output pin (SEG20)
• P42/SEG19 pin
This pin has the following peripheral function:
• LCDC SEG19 output pin (SEG19)
• P43/SEG18 pin
This pin has the following peripheral function:
• LCDC SEG18 output pin (SEG18)
• Block diagram of P40/SEG21, P41/SEG20, P42/SEG19 and P43/SEG18
PDR4
Pin
PDR4 read
PDR4 write
Executing bit manipulation instruction
DDR4 read
DDR4 write
DDR4
0
1
Stop mode, watch mode (SPL = 1)
LCD output
Inter
nal b
u
s
LCD output enable