- i -
CONTENTS
CHAPTER 1
OVERVIEW .......................................................................................................................
1
1.1
78K/0 SERIES PRODUCT DEVELOPMENT .........................................................
1
1.2
78K/0 SERIES FEATURES ....................................................................................
3
CHAPTER 2
SOFTWARE BASICS .......................................................................................................
15
2.1
DATA TRANSFER...................................................................................................
15
2.2
DATA COMPARISON..............................................................................................
16
2.3
DECIMAL ADDITION ..............................................................................................
17
2.4
DECIMAL SUBTRACTION......................................................................................
24
2.5
BINARY-TO-DECIMAL CONVERSION ..................................................................
26
2.6
BIT OPERATION MANIPULATION INSTRUCTION ..............................................
28
2.7
BINARY MULTIPLICATION (16 BITS x 16 BITS)..................................................
29
2.8
BINARY DIVISION (32 BITS/16 BITS) ...................................................................
33
CHAPTER 3
SYSTEM CLOCK SWITCHING APPLICATION..............................................................
37
3.1
SWITCHING PCC AFTER RESET .........................................................................
46
3.2
SWITCHING DURING POWER ON/OFF...............................................................
47
CHAPTER 4
WATCHDOG TIMER APPLICATION...............................................................................
51
4.1
SETTING THE WATCHDOG TIMER MODE .........................................................
56
4.2
INTERVAL TIMER MODE SETTING......................................................................
58
CHAPTER 5
16-BIT TIMER/EVENT COUNTER APPLICATION.........................................................
59
5.1
INTERVAL TIMER SETTING ..................................................................................
65
5.2
PWM OUTPUT ........................................................................................................
67
5.3
REMOTE CONTROL RECEPTION ........................................................................
69
5.3.1
Remote Control Reception by a Counter Clear........................................
72
5.3.2
Remote Control Reception by PWM Output and Free Running ..............
86