MC81F4x16
19. Timer 2/3.......................................................................................................................................127
19.1 Registers.................................................................................................................................127
19.2 Timer 2 8-Bit Mode .................................................................................................................131
19.3 Timer 3 8-Bit Mode .................................................................................................................133
19.4 Timer 2 16-Bit Mode ...............................................................................................................135
20. High Speed PWM..........................................................................................................................137
20.1 Registers.................................................................................................................................139
21. BUZZER........................................................................................................................................141
21.1 Registers.................................................................................................................................142
21.2 Frequency table......................................................................................................................143
22. 12-BIT ADC...................................................................................................................................144
22.1 Registers.................................................................................................................................145
22.2 Procedure ...............................................................................................................................146
22.3 Conversion Timing..................................................................................................................146
22.4 Internal Reference Voltage.....................................................................................................147
22.5 Recommended Circuit ............................................................................................................147
23. SERIAL I/O INTERFACE ..............................................................................................................148
23.1 Registers.................................................................................................................................149
23.2 Procedure ...............................................................................................................................150
24. UART.............................................................................................................................................151
24.1 Registers.................................................................................................................................152
24.2 Modes and Procedures...........................................................................................................154
24.3 Baud rate calculations ............................................................................................................159
24.4 Muti-processor Communication..............................................................................................160
24.5 Interrupt...................................................................................................................................161
25. SLAVE IIC .....................................................................................................................................162
25.1 Roles.......................................................................................................................................162
25.2 Registers.................................................................................................................................162
25.3 Message format......................................................................................................................165
25.4 Procedure ...............................................................................................................................167
26. RESET ..........................................................................................................................................169
26.1 Reset Process ........................................................................................................................169
26.2 Reset Sources ........................................................................................................................170
26.3 External Reset ........................................................................................................................170
26.4 Watch Dog Timer Reset .........................................................................................................170
26.5 Power On Reset .....................................................................................................................171
26.6 Low Voltage Reset..................................................................................................................171
27. POWER DOWN OPERATION......................................................................................................172
27.1 Sleep Mode.............................................................................................................................172
27.2 Stop Mode...............................................................................................................................174
27.3 Sleep vs Stop..........................................................................................................................177
27.4 Changing the stabilizing time..................................................................................................178
27.5 Minimizing Current Consumption ...........................................................................................178
28. EMULATOR ..................................................................................................................................180
29. IN SYSTEM PROGRAMMING......................................................................................................183
29.1 Getting Started........................................................................................................................183
29.2 Basic ISP S/W Information .....................................................................................................184
29.3 Hardware Conditions to Enter the ISP Mode..........................................................................186
8
October 19, 2009 Ver.1.35