Preliminary User’s Manual U17790EJ1V0UD
10
CONTENTS
CHAPTER 1 INTRODUCTION..................................................................................................................21
1.1
General .....................................................................................................................................21
1.2
Features....................................................................................................................................23
1.3
Application Fields....................................................................................................................24
1.4
Ordering Information...............................................................................................................25
1.5
Pin Configuration (Top View) .................................................................................................26
1.6
Function Block Configuration ................................................................................................29
1.6.1
Internal block diagram................................................................................................................29
1.6.2
Internal units ..............................................................................................................................30
CHAPTER 2 PIN FUNCTIONS ................................................................................................................33
2.1
List of Pin Functions ...............................................................................................................33
2.2
Pin States .................................................................................................................................44
2.3
Pin I/O Circuit Types, I/O Buffer Power Supplies and Connection of Unused Pins .........45
2.4
Cautions ...................................................................................................................................49
CHAPTER 3 CPU FUNCTION .................................................................................................................50
3.1
Features....................................................................................................................................50
3.2
CPU Register Set .....................................................................................................................51
3.2.1
Program register set ..................................................................................................................52
3.2.2
System register set ....................................................................................................................53
3.3
Operation Modes .....................................................................................................................59
3.3.1
Specifying operation mode ........................................................................................................59
3.4
Address Space.........................................................................................................................60
3.4.1
CPU address space ...................................................................................................................60
3.4.2
Wraparound of CPU address space ..........................................................................................61
3.4.3
Memory map..............................................................................................................................62
3.4.4
Areas .........................................................................................................................................64
3.4.5
Recommended use of address space........................................................................................72
3.4.6
Peripheral I/O registers ..............................................................................................................75
3.4.7
Programmable peripheral I/O registers ......................................................................................89
3.4.8
Special registers ........................................................................................................................90
3.4.9
Cautions.....................................................................................................................................94
CHAPTER 4 PORT FUNCTIONS ............................................................................................................98
4.1
Features....................................................................................................................................98
4.2
Basic Port Configuration ........................................................................................................98
4.3
Port Configuration ...................................................................................................................99
4.3.1
Port 0 .......................................................................................................................................104
4.3.2
Port 1 .......................................................................................................................................108
4.3.3
Port 3 .......................................................................................................................................109
4.3.4
Port 4 .......................................................................................................................................116
4.3.5
Port 5 .......................................................................................................................................119
4.3.6
Port 6 .......................................................................................................................................123
4.3.7
Port 7 .......................................................................................................................................127
4.3.8
Port 8 .......................................................................................................................................129