3.3.4
Register addressing ......................................................................................................................50
3.4
3.4.1
Direct addressing ..........................................................................................................................51
3.4.2
Short direct addressing .................................................................................................................52
3.4.3
3.4.4
Register addressing ......................................................................................................................54
3.4.5
3.4.6
Based addressing .........................................................................................................................56
3.4.7
Stack addressing...........................................................................................................................56
PORT FUNCTIONS...........................................................................................................57
4.1
Port Functions ............................................................................................................................57
4.2
Port Configuration......................................................................................................................59
4.2.1
Port 0.............................................................................................................................................60
4.2.2
Port 1.............................................................................................................................................61
4.2.3
Port 2.............................................................................................................................................62
4.2.4
Port 4.............................................................................................................................................68
4.3
4.4
Port Function Operation ............................................................................................................72
4.4.1
Writing to I/O port ..........................................................................................................................72
4.4.2
Reading from I/O port....................................................................................................................72
4.4.3
CLOCK GENERATOR......................................................................................................73
5.1
Clock Generator Functions .......................................................................................................73
5.2
5.3
5.4
System Clock Oscillators ..........................................................................................................75
5.4.1
System clock oscillator..................................................................................................................75
5.4.2
5.4.3
Frequency divider..........................................................................................................................77
5.5
Clock Generator Operation........................................................................................................77
5.6
5.6.1
5.6.2
Switching CPU clock .....................................................................................................................78
CHAPTER 6
6.1
6.2
6.3
6.4
6.4.1
Operation as interval timer ............................................................................................................85
6.4.2
6.4.3
6.5
User's Manual U12978EJ3V0UD
11