The ATXMEGA16D4-AU is a 8-bit high-performance low-power AVR XMEGA Microcontroller combines 16kB ISP flash memory (4kB boot code section) with read-while-write capabilities, 1kB EEPROM, 2kB SRAM, four-channel event system, a programmable multi-level interrupt controller, 34 general purpose I/O lines, a 16-bit real time counter, four flexible 16-bit timer/counters with compare modes and PWM, two USARTs, 2 Two-Wire Interfaces (TWIs), two Serial Peripheral Interfaces (SPIs), one 12-channel/12-bit A/D converter with optional differential input with programmable gain, two analogue comparators with window mode, a programmable watchdog timer with separate internal oscillator, accurate internal oscillators with PLL and prescaler and programmable brown-out detection. The Program and Debug Interface (PDI), a fast 2-pin interface for programming and debugging, is available.
● Non-volatile program and data memories
● Peripheral features - Four-channel event system, four 16-bit timer/counters
● Power-on reset (POR) and programmable brown-out detection
● Internal and external clock options with PLL and prescaler
● Programmable multilevel interrupt controller
● Five sleep modes
● Programming and debug interfaces
● PDI (Program and Debug Interface)