Preliminary User’s Manual U16898EJ1V0UD
9
CONTENTS
CHAPTER 1 OVERVIEW......................................................................................................................... 14
1.1 Features ...................................................................................................................................... 14
1.2 Application
Fields ...................................................................................................................... 14
1.3 Ordering
Information ................................................................................................................. 15
1.4
Pin Configuration (Top View) ................................................................................................... 15
1.5
78K0S/Kx1+ Product Lineup..................................................................................................... 16
1.6 Block
Diagram ............................................................................................................................ 17
1.7 Functional
Outline ..................................................................................................................... 18
CHAPTER 2 PIN FUNCTIONS ............................................................................................................... 19
2.1
Pin Function List ........................................................................................................................ 19
2.2 Pin
Functions ............................................................................................................................. 21
2.2.1 P20
to
P23 (Port 2)...................................................................................................................... 21
2.2.2 P30,
P31,
and P34 (Port 3) ......................................................................................................... 21
2.2.3 P40
to
P45 (Port 4)...................................................................................................................... 22
2.2.4 P121
to
P123 (Port 12)................................................................................................................ 22
2.2.5 P130
(Port 13) ............................................................................................................................. 22
2.2.6
RESET ........................................................................................................................................ 22
2.2.7 X1 and X2 ................................................................................................................................... 22
2.2.8 AV
REF
........................................................................................................................................... 22
2.2.9 V
DD
.............................................................................................................................................. 23
2.2.10 V
SS
............................................................................................................................................... 23
2.3
Pin I/O Circuits and Connection of Unused Pins ................................................................... 23
CHAPTER 3 CPU ARCHITECTURE...................................................................................................... 25
3.1
Memory Space............................................................................................................................ 25
3.1.1 Internal
program memory space.................................................................................................. 27
3.1.2 Internal
data memory space ........................................................................................................ 27
3.1.3 Special
function
register (SFR) area ........................................................................................... 28
3.1.4 Data
memory addressing ............................................................................................................ 28
3.2
Processor Registers .................................................................................................................. 30
3.2.1 Control
registers .......................................................................................................................... 30
3.2.2 General-purpose registers........................................................................................................... 32
3.2.3 Special
function registers (SFRs) ................................................................................................ 33
3.3
Instruction Address Addressing .............................................................................................. 36
3.3.1 Relative addressing..................................................................................................................... 36
3.3.2 Immediate addressing ................................................................................................................. 37
3.3.3 Table
indirect addressing ............................................................................................................ 37
3.3.4 Register addressing .................................................................................................................... 38
3.4
Operand Address Addressing.................................................................................................. 39
3.4.1 Direct
addressing ........................................................................................................................ 39
www.DataSheet4U.com
www.DataSheet4U.com