NEC 78K0S/KA1+ Preliminary User's Manual page 58

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0S/KA1+:
Table of Contents

Advertisement

www.DataSheet4U.com
Address: FF02H, After reset: 00H (Output latch) R/W
Symbol
7
P2
0
Address: FF03H, After reset: 00H
Symbol
7
P3
0
Address: FF04H, After reset: 00H (Output latch) R/W
www.DataSheet4U.com
Symbol
7
P4
0
Address: FF0CH, After reset: 00H (Output latch) R/W
Symbol
7
P12
0
Address: FF0DH, After reset: 00H (Output latch) R/W
Symbol
7
P13
0
Pmn
0
1
Note Because P34 is read-only, its reset value is undefined.
(3) Port mode control register 2 (PMC2)
This register specifies the port mode or alternate function (A/D converter) of port 2.
Each bit of the PMC2 register corresponds to each pin of port 2 and can be specified in 1-bit units.
PMC2 is set by using a 1-bit or 8-bit memory manipulation instruction.
Reset input sets PMC2 to 00H.
58
CHAPTER 4 PORT FUNCTIONS
Figure 4-13. Format of Port Register
6
5
0
0
Note
Note
(Output latch) R/W
6
5
0
0
6
5
0
P45
6
5
0
0
6
5
0
0
Controls of output data (in output mode)
Output 0
Output 1
Preliminary User's Manual U16898EJ1V0UD
4
3
2
0
P23
P22
4
3
2
P34
0
0
4
3
2
P44
P43
P42
4
3
2
0
P123
P122
4
3
2
0
0
0
m = 2, 3, 4, 12, or 13; n = 0-7
Input data read (in input mode)
Input low level
Input high level
1
0
P21
P20
1
0
P31
P30
1
0
P41
P40
1
0
P121
0
1
0
0
P130

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd78f9221Mpd78f9222

Table of Contents