NEC mPD780344 Series User Manual page 369

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(5) Pin function switching registers (PF8 to PF11)
These registers are used to select whether the pins of ports 8 to 11 are used as port pins or segment pins in
1-bit units.
These registers are set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets the values of these registers to 00H.
Figure 18-8. Format of Pin Function Switching Registers (PF8 to PF11)
Address: FF58H After reset: 00H
Symbol
7
6
PF8
PF87
PF86
Address: FF59H After reset: 00H
Symbol
7
6
PF9
PF97
PF96
Address: FF5AH After reset: 00H
Symbol
7
6
PF10
PF107 PF106 PF105 PF104 PF103 PF102 PF101 PF100
Address: FF5BH After reset: 00H
Symbol
7
6
PF11
0
0
PFmn
0
I/O port
1
Segment output
Cautions 1. The pins specified as segment output pins by PF8 to PF11 can output their signals
regardless of the value of the corresponding port mode register (PM8 to PM11).
2. PF8 to PF11 can be set only once after a reset. To change the settings, a reset must be
performed beforehand.
Remark m = 8 to 11, n = 0 to 7
CHAPTER 18 LCD CONTROLLER/DRIVER
R/W
5
4
3
2
PF85
PF84
PF83
PF82
R/W
5
4
3
2
PF95
PF94
PF93
PF92
R/W
5
4
3
2
R/W
5
4
3
2
0
0
PF113 PF112 PF111 PF110
User's Manual U15798EJ2V0UD
1
0
PF81
PF80
1
0
PF91
PF90
1
0
1
0
Pin settings
369

Advertisement

Table of Contents
loading

Table of Contents