7-2
7-3
7-4
8-1
8-2
8-3
8-4
8-5
8-6
9-1
9-2
9-3
9-4
9-5
9-6
9-7
9-8
9-9
9-10
9-11
9-12
9-13
9-14
9-15
9-16
9-17
9-18
9-19
9-20
9-21
10-1
10-2 (a) Write Access to FRC (When CPU Writes H'AA55) ·····················································189
10-2 (b) Read Access to FRC (When FRC Contains H'AA55) ···················································190
10-3
Increment Timing for External Clock Input ··································································191
10-4
Setting of Output Compare Flags ··················································································192
10-5
Timing of Output Compare A ························································································192
10-6
Clearing of FRC by Compare-Match A ·········································································193
10-7
Input Capture Timing (Usual Case) ···············································································193
10-8
Input Capture Timing (1-State Delay) ···········································································194
10-9
Setting of Input Capture Flag ························································································194
10-10
Setting of Overflow Flag (OVF) ····················································································195
Programmable Wait Mode ·····························································································131
Pin Wait Mode ···············································································································132
Pin Auto-Wait Mode ······································································································133
Block Diagram of Clock Pulse Generator ·····································································135
Connection of Crystal Oscillator (Example) ·································································136
Crystal Oscillator Equivalent Circuit ·············································································136
Notes on Board Design around External Crystal ···························································137
External Clock Input (Example) ····················································································137
Phase Relationship of Clock and E clock ···································································138
Pin Functions of Port 1 ··································································································142
Pin Functions of Port 2 ··································································································148
Port 2 Pin Functions in Expanded Modes ······································································150
Port 2 Pin Functions in Single-Chip Mode ····································································151
Pin Functions of Port 3 ··································································································151
Port 3 Pin Functions in Expanded Modes ······································································153
Port 3 Pin Functions in Single-Chip Mode ····································································154
Pin Functions of Port 4 ··································································································154
Port 4 Pin Functions in Expanded Modes ······································································156
Port 4 Pin Functions in Single-Chip Mode ····································································157
Pin Functions of Port 5 ··································································································157
Port 5 Pin Functions in Modes 1 and 3 ··········································································159
Port 5 Pin Functions in Modes 2 and 4 ··········································································160
Port 5 Pin Functions in Single-Chip Mode ····································································160
Pin Functions of Port 6 ··································································································164
Port 6 Pin Functions in Mode 3 ·····················································································166
Port 6 Pin Functions in Mode 4 ·····················································································166
Port 6 Pin Functions in Modes 7, 2, and 1 ·····································································167
Pin Functions of Port 7 ··································································································168
Pin Functions of Port 8 ··································································································172
Pin Functions of Port 9 ··································································································173
Block Diagram of 16-Bit Free-Running Timer ·····························································178