Preliminary User’s Manual U16315EJ1V0UD
9
CONTENTS
CHAPTER 1 OUTLINE .............................................................................................................................25
1.1
Features .......................................................................................................................................25
1.2
Applications.................................................................................................................................26
1.3
Ordering Information ..................................................................................................................27
1.4
Pin Configuration (Top View).....................................................................................................29
1.5
78K0/Kxx Series Lineup .............................................................................................................31
1.6
Block Diagram .............................................................................................................................33
1.7
Outline of Functions ...................................................................................................................34
CHAPTER 2 PIN FUNCTIONS ................................................................................................................36
2.1
Pin Function List .........................................................................................................................36
2.2
Description of Pin Functions .....................................................................................................39
2.2.1
P00 to P03 (port 0) .........................................................................................................................39
2.2.2
P10 to P17 (port 1) .........................................................................................................................39
2.2.3
P20 to P27 (port 2) .........................................................................................................................40
2.2.4
P30 to P33 (port 3) .........................................................................................................................40
2.2.5
P60 to P63 (port 6) .........................................................................................................................40
2.2.6
P70 to P77 (port 7) .........................................................................................................................40
2.2.7
P120 (port 12).................................................................................................................................41
2.2.8
P130 (port 13).................................................................................................................................41
2.2.9
P140 (port 14).................................................................................................................................41
2.2.10
AV
REF
.............................................................................................................................................41
2.2.11
AV
SS
..............................................................................................................................................41
2.2.12
RESET ...........................................................................................................................................42
2.2.13
REGC .............................................................................................................................................42
2.2.14
X1 and X2.......................................................................................................................................42
2.2.15
XT1 and XT2 ..................................................................................................................................42
2.2.16
V
DD
and EV
DD
................................................................................................................................42
2.2.17
V
SS
and EV
SS
.................................................................................................................................42
2.2.18
V
PP
(flash memory versions only) ...................................................................................................42
2.2.19
IC (mask ROM versions only).........................................................................................................42
2.3
Pin I/O Circuits and Recommended Connection of Unused Pins..........................................43
CHAPTER 3 CPU ARCHITECTURE .......................................................................................................46
3.1
Memory Space.............................................................................................................................46
3.1.1
Internal program memory space.....................................................................................................52
3.1.2
Internal data memory space ...........................................................................................................53
3.1.3
Special function register (SFR) area...............................................................................................53
3.1.4
Data memory addressing ...............................................................................................................54
3.2
Processor Registers ...................................................................................................................59
3.2.1
Control registers .............................................................................................................................59
3.2.2
General-purpose registers ..............................................................................................................62
3.2.3
Special Function Registers (SFRs).................................................................................................63
3.3
Instruction Address Addressing ...............................................................................................67
3.3.1
Relative addressing ........................................................................................................................67