
Preliminary User’s Manual U19111EJ2V1UD
9
CONTENTS
CHAPTER 1 OUTLINE ............................................................................................................................ 17
1.1 Features ........................................................................................................................................ 17
1.2 Ordering Information ................................................................................................................... 19
1.3 Pin Configuration (Top View)...................................................................................................... 21
1.3.1 78K0/KY2-L .....................................................................................................................................21
1.3.2 78K0/KA2-L .....................................................................................................................................22
1.3.3 78K0/KB2-L .....................................................................................................................................23
1.3.4 78K0/KC2-L .....................................................................................................................................24
1.4 Block Diagram .............................................................................................................................. 28
1.4.1 78K0/KY2-L .....................................................................................................................................28
1.4.2 78K0/KA2-L .....................................................................................................................................29
1.4.3 78K0/KB2-L .....................................................................................................................................30
1.4.4 78K0/KC2-L .....................................................................................................................................31
1.5 Outline of Functions .................................................................................................................... 32
CHAPTER 2 PIN FUNCTIONS ............................................................................................................... 34
2.1 Pin Function List .......................................................................................................................... 34
2.1.1 78K0/KY2-L .....................................................................................................................................35
2.1.2 78K0/KA2-L .....................................................................................................................................37
2.1.3 78K0/KB2-L .....................................................................................................................................39
2.1.4 78K0/KC2-L .....................................................................................................................................42
2.2 Description of Pin Functions ...................................................................................................... 47
2.2.1 P00 to P02 (port 0)...........................................................................................................................47
2.2.2 P10 to P17 (port 1)...........................................................................................................................48
2.2.3 P20 to P27 (port 2)...........................................................................................................................49
2.2.4 P30 to P33 (port 3)...........................................................................................................................50
2.2.5 P40 to P42 (port 4)...........................................................................................................................51
2.2.6 P60 to P63 (port 6)...........................................................................................................................52
2.2.7 P70 to P75 (port 7)...........................................................................................................................53
2.2.8 P120 to P125 (port 12).....................................................................................................................54
2.2.9 AVREF, AVSS, VDD, VSS ......................................................................................................................55
2.2.10 REGC, IC.......................................................................................................................................56
2.3 Pin I/O Circuits and Recommended Connection of Unused Pins........................................... 57
CHAPTER 3 CPU ARCHITECTURE ...................................................................................................... 66
3.1 Memory Space .............................................................................................................................. 66
3.1.1 Internal program memory space ......................................................................................................71
3.1.2 Internal data memory space ............................................................................................................73
3.1.3 Special function register (SFR) area ................................................................................................73
3.1.4 Data memory addressing.................................................................................................................74
3.2 Processor Registers .................................................................................................................... 78
3.2.1 Control registers...............................................................................................................................78
3.2.2 General-purpose registers ...............................................................................................................82