
User’s Manual U17790EJ2V0UD
9
CONTENTS
CHAPTER 1 INTRODUCTION .................................................................................................................20
1.1
General .....................................................................................................................................20
1.2
Features....................................................................................................................................22
1.3
Application Fields ...................................................................................................................23
1.4
Ordering Information ..............................................................................................................24
1.5
Pin Configuration (Top View) .................................................................................................25
1.6
Function Block Configuration................................................................................................28
1.6.1
Internal block diagram ............................................................................................................... 28
1.6.2
Internal units .............................................................................................................................. 29
CHAPTER 2 PIN FUNCTIONS ................................................................................................................32
2.1
List of Pin Functions...............................................................................................................32
2.2
Pin States .................................................................................................................................43
2.3
Pin I/O Circuit Types, I/O Buffer Power Supplies and Connection of Unused Pins.........44
2.4
Cautions ...................................................................................................................................48
CHAPTER 3 CPU FUNCTION.................................................................................................................49
3.1
Features....................................................................................................................................49
3.2
CPU Register Set.....................................................................................................................50
3.2.1
Program register set .................................................................................................................. 51
3.2.2
System register set.................................................................................................................... 52
3.3
Operation Modes .....................................................................................................................58
3.3.1
Specifying operation mode ........................................................................................................ 58
3.4
Address Space ........................................................................................................................59
3.4.1
CPU address space................................................................................................................... 59
3.4.2
Wraparound of CPU address space .......................................................................................... 60
3.4.3
Memory map.............................................................................................................................. 61
3.4.4
Areas ......................................................................................................................................... 63
3.4.5
Recommended use of address space ....................................................................................... 71
3.4.6
Peripheral I/O registers.............................................................................................................. 74
3.4.7
Programmable peripheral I/O registers...................................................................................... 88
3.4.8
Special registers ........................................................................................................................ 89
3.4.9
Cautions .................................................................................................................................... 93
CHAPTER 4 PORT FUNCTIONS............................................................................................................97
4.1
Features....................................................................................................................................97
4.2
Basic Port Configuration ........................................................................................................97
4.3
Port Configuration...................................................................................................................98
4.3.1
Port 0....................................................................................................................................... 103
4.3.2
Port 1....................................................................................................................................... 107
4.3.3
Port 3....................................................................................................................................... 108
4.3.4
Port 4....................................................................................................................................... 115
4.3.5
Port 5....................................................................................................................................... 118
4.3.6
Port 6....................................................................................................................................... 122
4.3.7
Port 7....................................................................................................................................... 126
4.3.8
Port 8....................................................................................................................................... 128