W78E365/W78E365A 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 W78E365 Special Function Registers (SFRs) and Reset Values.....................................9
Port 4 ............................................................................................................................ 10
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 ............................................................................................................. 21
6.11 H/W Reboot Mode (Boot from LDROM)....................................................................... 22
6.12 Security......................................................................................................................... 25
ELECTRICAL CHARACTERISTICS......................................................................................... 27
7.
7.1
7.2
Absolute Maximum Ratings.......................................................................................... 27
D.C. Characteristics...................................................................................................... 27
Publication Release Date: January 10, 2007
- 1 -
Revision A9