Description The W78E365 is an 8-bit microcontroller which has an in-system programmable Flash EPROM for firmware updating. The instruction set of the W78E365 is fully compatible with the standard 8052. The W78E365 contains a 64K bytes of main Flash APROM and a 4K bytes of auxiliary Flash LDROM which allows the contents of the 64KB main APROM to be updated by the loader program located at the LDROM; 256+1K bytes of on-chip RAM; four 8-bit bi-directional and bit-addressable I/O ports; an additional 4-bit port P4; three 16-bit timer/counters; a serial port. These peripherals are supported by a eight sources two-level interrupt capability. Features Fully static design 8-bit CMOS microcontroller 64K bytes of in-system programmable Flash EPROM for Application Program (APROM) 4K bytes of auxiliary ROM for Loader Program (LDROM) 256+1K bytes of on-chip RAM. (Including 1K bytes of AUX-RAM, software selectable) Four 8-bit bi-directional ports; Port 0 has internal pull-up resisters enabled by software One 4-bit multipurpose programmable port (I/O, interrupt, Chip select function) Three 16-bit timer/counters One full duplex serial port Watchdog timer 5 channel PWM Software Reset P1.0 T2 programmable clock out Eight-sources, two-level interrupt capability Built-in power management Code protection