7-2
7-3
7-4
8-1
8-2
8-3
8-4
8-5
8-6
8-7
9-1
9-2
9-3
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) ·····················································195
10-2 (b) Read Access to FRC (When FRC Contains H'AA55) ···················································196
10-3
Increment Timing for External Clock Input ··································································197
10-4
Setting of Output Compare Flags ··················································································198
10-5
Timing of Output Compare A ························································································198
10-6
Clearing of FRC by Compare-Match A ·········································································199
10-7
Input Capture Timing (Usual Case) ···············································································199
10-8
Input Capture Timing (1-State Delay) ···········································································200
10-9
Setting of Input Capture Flag ························································································200
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
External Clock Input (Examples) ··················································································138
Phase Relationship of Clock and E clock ···································································139
Pin Functions of Port 1 ··································································································144
Pin Functions of Port 2 ··································································································150
Port 2 Pin Functions in Expanded Modes ······································································152
Port 2 Pin Functions in Single-Chip Mode ····································································153
Pin Functions of Port 3 ··································································································153
Port 3 Pin Functions in Expanded Modes ······································································155
Port 3 Pin Functions in Single-Chip Mode ····································································156
Pin Functions of Port 4 ··································································································156
Port 4 Pin Functions in Expanded Modes ······································································158
Port 4 Pin Functions in Single-Chip Mode ····································································159
Pin Functions of Port 5 ··································································································159
Port 5 Pin Functions in Modes 1 and 3 ··········································································161
Port 5 Pin Functions in Modes 2 and 4 ··········································································162
Port 5 Pin Functions in Single-Chip Mode ····································································162
Pin Functions of Port 6 ··································································································166
Port 6 Pin Functions in Mode 3 ·····················································································170
Port 6 Pin Functions in Mode 4 ·····················································································170
Port 6 Pin Functions in Modes 7, 2, and 1 ·····································································171
Pin Functions of Port 7 ··································································································173
Pin Functions of Port 8 ··································································································177
Pin Functions of Port 9 ··································································································178
Block Diagram of 16-Bit Free-Running Timer ·····························································184