ATM8F8040 series ATM8F8040 is an 8-bit MCU with 16K byte Flash embedded. The main features are as follows: With 16K bytes of code storage space, 256 bytes of SRAM, 512 bytes of expanded XRAM, 128 bytes of internal EEPROM, 2 16-bit high-performance timers T0/T1, 1 16-bit timer T2 with three-way capture function, PWM module with dead zone control, watchdog timer, support 2 UART, Embedded 12 bit ADC and 16 bit CRC modules, while integrating a configurable logic unit, very suitable for consumer and control electronics applications.