W78IRD2 Data Sheet
8-BIT MICROCONTROLLER
Table of Contents-
1.
2.
3.
4.
5.
6.
GENERAL DESCRIPTION ......................................................................................................... 3
FEATURES................................................................................................................................. 3
PIN CONFIGURATIONS ............................................................................................................ 4
PIN DESCRIPTION..................................................................................................................... 5
BLOCK DIAGRAM ...................................................................................................................... 6
FUNCTIONAL DESCRIPTION ................................................................................................... 7
6.1
6.2
6.3
6.4
6.5
6.6
6.7
RAM................................................................................................................................ 7
Timers 0, 1 and 2............................................................................................................ 7
Clock............................................................................................................................... 8
Crystal Oscillator............................................................................................................. 8
External Clock................................................................................................................. 8
Power Management........................................................................................................ 8
Reset............................................................................................................................... 8
7.
SPECIAL FUNCTIN REGISTER................................................................................................. 9
PORT 4 AND BASE ADDRESS REGISTERS ......................................................................... 32
INTERRUPT.............................................................................................................................. 34
PROGRAMMABLE TIMERS/COUNTERS ............................................................................... 35
10.1 Timer/Counters 0 & 1.................................................................................................... 35
10.2 Timer/Counter 2............................................................................................................ 38
ENHANCED FULL DUPLEX SERIAL PORT............................................................................ 40
11.1 MODE 0 ........................................................................................................................ 40
11.2 MODE 1 ........................................................................................................................ 41
11.3 MODE 2 ........................................................................................................................ 43
11.4 MODE 3 ........................................................................................................................ 44
11.5 Framing Error Detection ............................................................................................... 45
11.6 Multiprocessor Communications .................................................................................. 45
PROGRAMMABLE COUNTER ARRAY (PCA)........................................................................ 47
12.1 PCA Capture Mode....................................................................................................... 50
12.2 16-bit Software Timer Comparator Mode ..................................................................... 50
12.3 High Speed Output Mode ............................................................................................. 51
12.4 Pulse Width Modulator Mode ....................................................................................... 51
12.5 Watchdog Timer ........................................................................................................... 52
8.
9.
10.
11.
12.
Publication Release Date: June 3, 2005
- 1 -
Revision A5