W78ERD2/W78ERD2A Data Sheet
8-BIT MICROCONTROLLER
Table of Contents-
1.
2.
3.
4.
5.
GENERAL DESCRIPTION ......................................................................................................... 3
FEATURES................................................................................................................................. 3
PIN CONFIGURATIONS ............................................................................................................ 4
PIN DESCRIPTION..................................................................................................................... 5
FUNCTIONAL DESCRIPTION ................................................................................................... 6
5.1
5.2
5.3
5.4
5.5
5.6
RAM................................................................................................................................ 6
Timers/Counters ............................................................................................................. 6
Clock............................................................................................................................... 7
Power Management........................................................................................................ 7
Reduce EMI Emission .................................................................................................... 7
Reset............................................................................................................................... 7
6.
7.
8.
SPECIAL FUNCTION REGISTER.............................................................................................. 8
PORT 4 AND BASE ADDRESS REGISTERS ......................................................................... 30
INTERRUPTS ........................................................................................................................... 32
8.1
8.2
External Interrupts 2 and 3 ........................................................................................... 32
Interrupt Priority ............................................................................................................ 32
9.
PROGRAMMABLE TIMERS/COUNTERS ............................................................................... 33
9.1
9.2
Timer 0 and Timer 1 ..................................................................................................... 33
Timer/Counter 2............................................................................................................ 35
10.
ENHANCED FULL DUPLEX SERIAL PORT............................................................................ 38
10.1 MODE 0 ........................................................................................................................ 38
10.2 MODE 1 ........................................................................................................................ 39
10.3 MODE 2 ........................................................................................................................ 40
10.4 MODE 3 ........................................................................................................................ 41
10.5 Framing Error Detection ............................................................................................... 42
10.6 Multi-Processor Communications................................................................................. 42
PROGRAMMABLE COUNTER ARRAY (PCA)........................................................................ 44
11.1 PCA Capture Mode....................................................................................................... 47
11.2 16-bit Software Timer Comparator Mode ..................................................................... 47
11.3 High Speed Output Mode ............................................................................................. 48
11.4 Pulse Width Modulator Mode ....................................................................................... 49
11.5 Watchdog Timer ........................................................................................................... 49
HARDWARE WATCHDOG TIMER (ONE-TIME ENABLED WITH RESET-OUT)................... 50
11.
12.
Publication Release Date: February 14, 2007
- 1 -
Revision A10