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