AT89S2051/S4051 is a low-voltage, high-performance CMOS 8 with 2K/4K byte In-System Programmable (ISP) Flash program memory bit is a microcontroller. The device is built using Atmel's high-density non-volatile memory technology and is compatible with the industry standard MCS-51 instruction set. The Atmel AT89S2051/S4051 is a powerful microcontroller that combines a versatile 8-bit CPU and Flash on a monolithic chip, providing a highly flexible and cost-effective solution to many embedded control applications. Additionally, the AT89S2051/S4051 is designed to be compatible with AT89C2051/C4051 devices respectively.
AT89S2051/S4051 provides the following standard features: 2K/4K bytes Flash, 256 bytes RAM, 15 bytes I/O line, two 16-bit timer/counters, six-vector, four-level interrupt architecture, full-duplex enhanced serial port, a precision analog comparator, on-chip and clock circuitry. Hardware support for PWM with 8-bit resolution and 8-bit prescaler is achieved by reconfiguring two on-chip timer/counters. Additionally, the AT89S2051/S4051 is designed with static logic for operation down to zero frequency and supports two software-selectable power saving modes. Idle Mode shuts down the CPU while allowing the RAM, timer/counters, serial port, and interrupt system to continue operating. Shutdown mode saves the contents of RAM but freezes all other chip functions until the next external interrupt or hardware reset.