Format Of Pull-Up Resistor Option Registers; Port Function Register Format - NEC PD789488 User Manual

Pd789489 subseries 8-bit single-chip microcontrollers
Table of Contents

Advertisement

(2)
Pull-up resistor option registers (PUB0 to PUB3)
These registers set whether to use on-chip pull-up resistors for pins P00 to P07, P10, P11, P20 to P25, and
P30 to P34. An on-chip pull-up resistor can be used only for those bits set to the input mode in a port for
which the use of the on-chip pull-up resistor has been specified using PUB0 to PUB3.
For those bits set to the output mode, on-chip pull-up resistors cannot be used, regardless of the setting of
PUB0 to PUB3. This also applies to alternate-function pins used as output pins.
PUB0 to PUB3 are set via a 1-bit or 8-bit memory manipulation instruction.
RESET input sets these registers to 00H.
Symbol
<7>
<6>
PUB0
PUB07
PUB06
7
6
PUB1
0
0
7
6
PUB2
0
0
7
6
PUB3
0
0
PUBmn
0
An on-chip pull-up resistor is not connected.
1
An on-chip pull-up resistor is connected.
(3)
Port function registers (PF7 and PF8) (
These registers specify in 1-bit units whether to use P70 to P73 and P80 to P87 as port pins or segment
outputs.
PF7 and PF8 are set via a 1-bit or 8-bit memory manipulation instruction.
RESET input sets these registers to 00H.
Caution This register is valid only in the
µ
PD789488 and 789489 will simply make it invalid, causing no operational effect.
Symbol
7
6
PF7
0
0
<7>
<6>
PF8
PF87
PF86
PFmn
0
Pmn is used as a port pin.
1
Pmn is used as a segment output.
CHAPTER 4 PORT FUNCTIONS
Figure 4-16. Format of Pull-Up Resistor Option Registers
<5>
<4>
<3>
PUB05
PUB04
PUB03
5
4
3
0
0
0
<5>
<4>
<3>
PUB25
PUB24
PUB23
5
<4>
<3>
0
PUB34
PUB33
Pmn on-chip pull-up resistor selection
µ
PD78F9488, 78F9489 only)
µ
PD78F9488 and 78F9489; however, writing to it in the
Figure 4-17. Port Function Register Format
5
4
<3>
0
0
PF73
<5>
<4>
<3>
PF85
PF84
PF83
Pmn port/segment output specification (m = 7 or 8, n = 0 to 7)
User's Manual U15331EJ4V1UD
<2>
<1>
<0>
PUB02
PUB01
PUB00
2
<1>
<0>
0
PUB11
PUB10
<2>
<1>
<0>
PUB22
PUB21
PUB20
<2>
<1>
<0>
PUB32
PUB31
PUB30
(m = 0 to 3, n = 0 to 7)
<2>
<1>
<0>
PF72
PF71
PF70
<2>
<1>
<0>
PF82
PF81
PF80
Address
After reset
R/W
FF30H
00H
R/W
FF31H
00H
R/W
FF32H
00H
R/W
FF33H
00H
R/W
Address
After reset
R/W
FF57H
00H
W
FF58H
00H
W
93

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd78f9488Pd78f9489Pd789489

Table of Contents