ii
2.8
2.9
Memory Map.....................................................................................................................
Application Notes..............................................................................................................
2.9.1
Notes on Data Access...........................................................................................
2.9.2
Notes on Bit Manipulation ...................................................................................
2.9.3
Notes on Use of the EEPMOV Instruction ..........................................................
49
50
50
52
58
Section 3
3.1
3.2
Exception Handling
........................................................................................
Overview............................................................................................................................
Reset..................................................................................................................................
3.2.1
Overview..............................................................................................................
3.2.2
Reset Sequence.....................................................................................................
3.2.3
Interrupt Immediately after Reset ........................................................................
Interrupts............................................................................................................................
3.3.1
Overview..............................................................................................................
3.3.2
Interrupt Control Registers...................................................................................
3.3.3
External Interrupts................................................................................................
3.3.4
Internal Interrupts.................................................................................................
3.3.5
Interrupt Operations..............................................................................................
3.3.6
Interrupt Response Time......................................................................................
Application Notes..............................................................................................................
3.4.1
Notes on Stack Area Use......................................................................................
3.4.2
Notes on Rewriting Port Mode Registers.............................................................
59
59
59
59
59
61
61
61
63
72
72
73
78
79
79
80
3.3
3.4
Section 4
4.1
Clock Pulse Generators
.................................................................................
Overview............................................................................................................................
4.1.1
Block Diagram......................................................................................................
4.1.2
System Clock and Subclock.................................................................................
System Clock Generator....................................................................................................
Subclock Generator ...........................................................................................................
Prescalers...........................................................................................................................
Note on Oscillators............................................................................................................
83
83
83
83
84
87
88
88
4.2
4.3
4.4
4.5
Section 5
5.1
Power-Down Modes
......................................................................................
Overview............................................................................................................................
5.1.1
System Control Registers.....................................................................................
Sleep Mode........................................................................................................................
5.2.1
Transition to Sleep Mode .....................................................................................
5.2.2
Clearing Sleep Mode............................................................................................
5.2.3
Clock Frequency in Sleep (Medium-Speed) Mode..............................................
Standby Mode....................................................................................................................
5.3.1
Transition to Standby Mode.................................................................................
5.3.2
Clearing Standby Mode........................................................................................
5.3.3
Oscillator Settling Time after Standby Mode is Cleared......................................
89
89
92
96
96
96
96
97
97
97
98
5.2
5.3