- xvii -
Contents
LIST OF TABLES
Table No. Title, Page
2-1 Port 2 Functions.............................................................................................................................27
2-2 Port 3 Operating Mode .................................................................................................................29
2-3 Port 6 Operating Mode .................................................................................................................30
2-4 Types of I/O Circuits and Unused-Pin Handling........................................................................33
3-1 Vector Table ...................................................................................................................................42
3-2 Selecting a Register Bank.............................................................................................................46
3-3 Function Names and Absolute Names....................................................................................... 49
3-4 Special Function Registers (SFR) ................................................................................................51
5-1 Port Functions................................................................................................................................60
5-2 Number of I/O Ports...................................................................................................................... 60
5-3 Functions of Port 2........................................................................................................................ 63
5-4 Port 3 Operating Modes ...............................................................................................................67
5-5 Port 4 Operating Modes ...............................................................................................................76
5-6 Port 5 Operating Modes ...............................................................................................................81
5-7 Port 6 Operating Modes ...............................................................................................................84
5-8 Port 6 Control Pin Functions and the Required Operations ....................................................88
6-1 Port 0 Operating Modes and Operations Needed for the Port 0 Buffer Registers............... 98
6-2 Output Trigger for the Real-Time Output Port.......................................................................... 99
7-1 Timer/Counter Types and Functions...........................................................................................107
7-2 Intervals of 16-Bit Timer/Counter................................................................................................ 109
7-3 Programmable Square Wave Output Setting Range of 16-Bit Timer/Counter .....................109
7-4 Pulse Width Measurement Range of 16-Bit Timer/Counter ....................................................109
7-5 Timer Output (TO0, TO1) Operation ...........................................................................................120
7-6 TO0 and TO1 Toggle Output........................................................................................................121
7-7 PWM Output on TO0 and TO1.....................................................................................................12 2
7-8 PPG Output on TO0.......................................................................................................................12 5
7-9 Intervals of 8-Bit Timer/Counter 1...............................................................................................1 39
7-10 Pulse Width Measurement Range of 8-Bit Timer/Counter 1 ...................................................139
7-11 Intervals of 8-Bit Timer/Counter 2...............................................................................................1 59
7-12 Programmable Square Wave Output Setting Range of 8-Bit Timer/Counter 2.................... 160
7-13 Pulse Width Measurement Range of 8-Bit Timer/Counter 2 ...................................................160
7-14 Clock Signals That Can Be Applied to 8-Bit Timer/Counter 2 .................................................161
7-15 Timer Output (TO2, TO3) Operation ...........................................................................................180
7-16 TO2 and TO3 Toggle Output........................................................................................................182
7-17 PWM Output on TO2 and TO3.....................................................................................................18 3
7-18 PPG Output on TO2.......................................................................................................................18 6
7-19 Intervals of 8-Bit Timer/Counter 3...............................................................................................2 05
7-20 Maximum Number of Wait States Inserted When Registers Associated with
Timers/Counters Are Accessed ...................................................................................................215