User’s Manual U17446EJ3V1UD
8
CONTENTS
CHAPTER 1 OVERVIEW.........................................................................................................................14
1.1 Features ......................................................................................................................................14
1.2 Ordering
Information .................................................................................................................15
1.3
Pin Configuration (Top View)....................................................................................................16
1.4
78K0S/Kx1+ Product Lineup .....................................................................................................17
1.5 Block
Diagram ............................................................................................................................18
1.6 Functional
Outline......................................................................................................................19
CHAPTER 2 PIN FUNCTIONS ...............................................................................................................20
2.1
Pin Function List ........................................................................................................................20
2.2 Pin
Functions..............................................................................................................................22
2.2.1 P00
to
P03 (Port 0)......................................................................................................................22
2.2.2 P20
to
P23 (Port 2)......................................................................................................................22
2.2.3 P30
to
P34 (Port 3)......................................................................................................................22
2.2.4 P40
to
P47 (Port 4)......................................................................................................................23
2.2.5 P120
to
P123 (Port 12) ................................................................................................................23
2.2.6 P130
(Port 13) .............................................................................................................................23
2.2.7
RESET ........................................................................................................................................23
2.2.8 X1 and X2....................................................................................................................................24
2.2.9 AV
REF
..........................................................................................................................................24
2.2.10 AV
SS
...........................................................................................................................................24
2.2.11 V
DD
..............................................................................................................................................24
2.2.12 V
SS
..............................................................................................................................................24
2.3
Pin I/O Circuits and Connection of Unused Pins....................................................................25
CHAPTER 3 CPU ARCHITECTURE ......................................................................................................27
3.1
Memory Space ............................................................................................................................27
3.1.1 Internal
program memory space..................................................................................................29
3.1.2 Internal
data memory space ........................................................................................................29
3.1.3 Special
function
register (SFR) area............................................................................................30
3.1.4 Data
memory addressing.............................................................................................................30
3.2
Processor Registers ..................................................................................................................32
3.2.1 Control
registers ..........................................................................................................................32
3.2.2 General-purpose registers ...........................................................................................................35
3.2.3 Special
function registers (SFRs) ................................................................................................36
3.3
Instruction Address Addressing ..............................................................................................39
3.3.1 Relative addressing .....................................................................................................................39
3.3.2 Immediate addressing .................................................................................................................40
3.3.3 Table
indirect addressing.............................................................................................................40
3.3.4 Register addressing.....................................................................................................................41
3.4
Operand Address Addressing ..................................................................................................42
3.4.1 Direct
addressing.........................................................................................................................42
3.4.2 Short
direct addressing................................................................................................................43
3.4.3
Special function register (SFR) addressing .................................................................................44
3.4.4 Register addressing.....................................................................................................................45
Содержание 78K0S/KB1+
Страница 2: ...User s Manual U17446EJ3V1UD 2 MEMO ...