NEC mPD178054 Series User Manual page 11

8-bit single-chip microcontrollers
Table of Contents

Advertisement

3.2
Processor Registers .........................................................................................................
3.2.1
Control registers ...................................................................................................................
3.2.2
General-purpose registers ...................................................................................................
3.2.3
Special Function Registers (SFR) .......................................................................................
3.3
Instruction Address Addressing ....................................................................................
3.3.1
Relative addressing ..............................................................................................................
3.3.2
Immediate addressing ..........................................................................................................
3.3.3
Table indirect addressing .....................................................................................................
3.3.4
Register addressing .............................................................................................................
3.4
Operand Address Addressing ........................................................................................
3.4.1
Implied addressing ...............................................................................................................
3.4.2
Register addressing .............................................................................................................
3.4.3
Direct addressing ..................................................................................................................
3.4.4
Short direct addressing ........................................................................................................
3.4.5
Special Function Register (SFR) addressing ......................................................................
3.4.6
Register indirect addressing ................................................................................................
3.4.7
Based addressing .................................................................................................................
3.4.8
Based indexed addressing ...................................................................................................
3.4.9
Stack addressing ..................................................................................................................
CHAPTER 4 PORT FUNCTIONS ......................................................................................................
4.1
Port Functions ...................................................................................................................
4.2
Port Configuration ............................................................................................................
4.2.1
Port 0 .....................................................................................................................................
4.2.2
Port 1 .....................................................................................................................................
4.2.3
Port 3 .....................................................................................................................................
4.2.4
Port 4 .....................................................................................................................................
4.2.5
Port 5 .....................................................................................................................................
4.2.6
Port 6 .....................................................................................................................................
4.2.7
Port 7 .....................................................................................................................................
4.2.8
Port 12 ...................................................................................................................................
4.2.9
Port 13 ...................................................................................................................................
4.3
Registers Controlling Port Functions ............................................................................
4.4
Port Function Operations ................................................................................................
4.4.1
Writing to I/O ports ...............................................................................................................
4.4.2
Reading from I/O ports .........................................................................................................
4.4.3
Operations on I/O ports ........................................................................................................
CHAPTER 5 CLOCK GENERATOR .................................................................................................
5.1
Functions of Clock Generator .........................................................................................
5.2
Configuration of Clock Generator ..................................................................................
5.3
Register Controlling Clock Generator ...........................................................................
5.4
System Clock Oscillator ..................................................................................................
5.4.1
System clock oscillator .........................................................................................................
5.4.2
Divider ...................................................................................................................................
5.5
Clock Generator Operations ...........................................................................................
5.6
Changing System Clock and CPU Clock Settings .......................................................
5.6.1
User's Manual U15104EJ2V0UD
47
47
50
52
56
56
57
58
59
60
60
61
62
63
64
65
66
67
67
68
68
70
70
71
72
74
75
76
77
80
82
83
87
87
87
87
88
88
89
90
91
91
93
94
95
95
11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd178053Mpd178054Mpd178f054

Table of Contents