NEC mPD780344 Series User Manual page 110

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(4) Pin function switching registers (PF8 to PF11)
These registers are used to select if ports 8 to 11 are used as port pins or segment pins in 1-bit units.
PF8 to PF11 are set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets the values of these registers to 00H.
Figure 4-21. Format of Pin Function Switching Registers (PF8 to PF11)
Address: FF58H After reset: 00H R/W
Symbol
7
6
PF8
PF87
PF86
Address: FF59H After reset: 00H R/W
Symbol
7
6
PF9
PF97
PF96
Address: FF5AH After reset: 00H R/W
Symbol
7
6
PF10
PF107
PF106
Address: FF5BH After reset: 00H R/W
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
110
CHAPTER 4 PORT FUNCTIONS
5
4
3
2
PF85
PF84
PF83
PF82
5
4
3
2
PF95
PF94
PF93
PF92
5
4
3
2
PF105
PF104
PF103
PF102
5
4
3
2
0
0
PF113
PF112
User's Manual U15798EJ2V0UD
1
0
PF81
PF80
1
0
PF91
PF90
1
0
PF101
PF100
1
0
PF111
PF110
Pin settings

Advertisement

Table of Contents
loading

Table of Contents