MC81F4204
9.6 Control Registers ( SFR ) ...........................................................................................................50
9.7 Addressing modes......................................................................................................................55
10. I/O PORTS......................................................................................................................................62
10.1 R0 Port Registers .....................................................................................................................63
10.2 R1 Port Registers .....................................................................................................................67
10.3 R3 Port Registers .....................................................................................................................71
11. INTERRUTP CONTROLLER..........................................................................................................73
11.1 Registers...................................................................................................................................74
11.2 Interrupt Sequence ...................................................................................................................76
11.3 BRK Interrupt ............................................................................................................................79
11.4 Shared Interrupt Vector ............................................................................................................79
11.5 Multi Interrupt............................................................................................................................80
11.6 Interrupt Vector & Priority Table ...............................................................................................81
12. EXTERNAL INTERRUPTS.............................................................................................................82
12.1 Registers...................................................................................................................................82
12.2 Procedure .................................................................................................................................85
13. OSCILLATION CIRCUITS ..............................................................................................................86
13.1 Main Oscillation Circuits ...........................................................................................................86
13.2 PCB Layout...............................................................................................................................87
14. BASIC INTERVAL TIMER...............................................................................................................88
14.1 Registers...................................................................................................................................89
15. WATCH DOG TIMER......................................................................................................................90
15.1 Registers...................................................................................................................................91
16. Timer 0/1.........................................................................................................................................92
16.1 Registers...................................................................................................................................92
16.2 Timer 0 8-Bit Mode ...................................................................................................................96
16.3 Timer 1 8-Bit Mode ...................................................................................................................98
17. Timer 2..........................................................................................................................................100
17.1 Registers.................................................................................................................................100
17.2 Timer 2 8-Bit Mode .................................................................................................................102
18. High Speed PWM..........................................................................................................................104
18.1 Registers.................................................................................................................................106
19. BUZZER........................................................................................................................................108
19.1 Registers.................................................................................................................................109
19.2 Frequency table......................................................................................................................110
20. 12-BIT ADC...................................................................................................................................111
20.1 Registers.................................................................................................................................112
20.2 Procedure ...............................................................................................................................113
20.3 Conversion Timing..................................................................................................................113
20.4 Internal Reference Voltage Levels .........................................................................................114
20.5 Recommended Circuit ............................................................................................................114
21. SERIAL I/O INTERFACE ..............................................................................................................115
21.1 Registers.................................................................................................................................116
21.2 Procedure ...............................................................................................................................117
22. RESET ..........................................................................................................................................118
22.1 Reset Process ........................................................................................................................118
22.2 Reset Sources ........................................................................................................................119
22.3 External Reset ........................................................................................................................119
6
October 19, 2009 Ver.1.35