W78E65/W78E065A 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
RAM................................................................................................................................ 7
Timers 0, 1, and 2........................................................................................................... 8
6.2.1 Timer 2 Output .................................................................................................................8
6.3
6.4
Clock............................................................................................................................... 8
6.3.1 Crystal Oscillator ..............................................................................................................8
6.3.2 External Clock ..................................................................................................................8
Power Management........................................................................................................ 8
6.4.1 Idle Mode..........................................................................................................................8
6.4.2 Power-down Mode............................................................................................................9
6.4.3 Reduce EMI Emission ......................................................................................................9
6.5
6.6
Reset............................................................................................................................... 9
6.5.1 W78E65 Special Function Registers (SFRs) and Reset Values.....................................10
Port 4 ............................................................................................................................ 11
6.6.1 Port Options Register .....................................................................................................11
6.6.2 INT2 /INT3 ..................................................................................................................11
6.6.3 Port 4 Base Address Registers ......................................................................................13
Pulse Width Modulated Outputs (PWM)....................................................................... 15
Watchdog Timer ........................................................................................................... 18
6.7
6.8
6.9
In-System Programming (ISP) Mode............................................................................ 20
6.9.1 In-System Programming Control Register (CHPCON) ...................................................21
6.10 Software Reset ............................................................................................................. 22
6.11 H/W Reboot Mode (Boot from LD FLASH EPROM) .................................................... 22
6.12 Security......................................................................................................................... 25
ELETRICAL CHARACTERISTICS ........................................................................................... 26
7.
8.
7.1
7.2
7.3
Absolute Maximum Ratings.......................................................................................... 26
DC Characteristics........................................................................................................ 26
AC Characteristics........................................................................................................ 28
TIMING WAVEFORMS............................................................................................................. 29
Publication Release Date: January 9, 2006
- 1 -
Revision A7