UPD75238GJ

Manufacturer Part NumberUPD75238GJ
Description4 BIT SINGLE-CHIP MICROCOMPUTER
ManufacturerNEC [NEC]
UPD75238GJ datasheet
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Page 41
42
Page 42
43
Page 43
44
Page 44
45
Page 45
46
Page 46
47
Page 47
48
Page 48
49
Page 49
50
Page 50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
Page 48/190

Download datasheet (2Mb)Embed
PrevNext
Fig. 4-12 Formats of the Port Mode Registers
Address
7
6
FE8H
PM63
PM62
Symbol
PM3n, PM6n
PMGA
0
1
Address
7
6
FECH
PM7
Symbol
PMn
0
PMGB
1
Remark ——: Don’t care
(4) Pull-up resistor register group A (POGA)
Pull-up resistor register group A is a register to specify an internal pull-up register to each port pin of ports
0 to 3 and port 6 (excluding P00). Fig. 4-13 shows the format of this register.
When a pull-up resistor is to be contained, set 1 to an associated bit, and when a pull-up resistor is not
to be contained, set 0.
Fig. 4-13 Format of the Register Group A Specifying the Use of Pull-Up Resistors
Address
7
6
FDCH
PO6
Caution For mask option, ports 4 and 5 can contain pull-up resistors, and port 7 and ports 10 to 15 can
contain pull-down resistors bit by bit.
Remark ——: Don’t care
48
Port mode register group A
5
4
3
2
PM61
PM60
PM33
PM32
PM31
P3n and P6n pin I/O specification (n = 0-3)
Input mode (output buffers set off)
Output mode (output buffers set on)
Port mode register group B
5
4
3
2
PM5
PM4
PM2
Port n I/O specification (n = 2, 4, 5, and 7)
Input mode (output buffers set off)
Output mode (output buffers set on)
5
4
3
2
1
PO3
PO2
PO1
PD75238
1
0
Symbol
PM30
PMGA
1
0
Symbol
PMGB
Symbol
0
PO0
POGA
Port 0 (P01 - P03)
Port 1 (P10 - P13)
Port 2 (P20 - P23)
Port 3 (P30 - P33)
Port 6 (P60 - P63)