ATxmega32D4 Atmel Corporation, ATxmega32D4 Datasheet - Page 255
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATxmega32D4
Manufacturer Part Number
ATxmega32D4
Description
Manufacturer
Atmel Corporation
Specifications of ATxmega32D4
Flash (kbytes)
32 Kbytes
Pin Count
44
Max. Operating Frequency
32 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
34
Ext Interrupts
34
Usb Speed
No
Usb Interface
No
Spi
4
Twi (i2c)
2
Uart
2
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
12
Adc Resolution (bits)
12
Adc Speed (ksps)
200
Analog Comparators
2
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
4
Eeprom (bytes)
1024
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.6 to 3.6
Operating Voltage (vcc)
1.6 to 3.6
Fpu
No
Mpu / Mmu
no / no
Timers
4
Output Compare Channels
14
Input Capture Channels
14
Pwm Channels
14
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATxmega32D4-AU
Manufacturer:
Atmel
Quantity:
123
Part Number:
ATxmega32D4-AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATxmega32D4-CU
Manufacturer:
Maxim
Quantity:
71
Company:
Part Number:
ATxmega32D4-MH
Manufacturer:
Atmel
Quantity:
1 910
Company:
Part Number:
ATxmega32D4-MH
Manufacturer:
Atmel
Quantity:
1 704
Part Number:
ATxmega32D4-MH
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
21.9.5
21.9.6
8210B–AVR–04/10
WINCTRL – Analog Comparator Window Function Control Register
STATUS – Analog Comparator Common Status Register
• Bits 5:0 - SCALEFAC[5:0]: Analog Comparator Input Voltage Scaling Factor
These bits define the scaling factor for the Vcc voltage
V
• Bits 7:5 - Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always
write these bits to zero when this register is written.
• Bit 4 - WEN: Analog Comparator Window Enable
Setting this bit enables Window Mode for the two Analog Comparators on the same port.
• Bits 3:2 - WINTMODE[1:0]: Analog Comparator Window Interrupt Mode Settings
These bits configure the interrupt mode for Analog Comparator Window Mode according to
Table
Table 21-5.
• Bits 1:0 - WINTLVL[1:0]: Analog Comparator Window Interrupt Enable
These bits enable the Analog Comparator Window Mode Interrupt and select the interrupt level
as described in
enabled interrupt will trigger according to the WINTMODE setting.
• Bits 7:6 - WSTATE[1:0]: Analog Comparator Window Mode Current State
These bits show the current state of the signal if the Window Mode is enabled according to
Table
V
Bit
+0x06
Read/Write
Initial Value
Bit
+0x07
Read/Write
Initial Value
SCALE
SCALE
WINTMODE[1:0]
21-5.
21-6.
, is:
=
00
01
10
11
V
------------------------------------------------------------ -
CC
R/W
R
7
–
0
7
0
⋅
Analog Comparator Window Mode Interrupt Settings
WSTATE[1:0]
(
”Interrupts and Programmable Multi-level Interrupt Controller” on page
SCALEFAC
64
Group Configuration
R/W
R
6
–
0
6
0
+
OUTSIDE
BELOW
ABOVE
INSIDE
1
AC1STATE
)
R/W
R
5
–
0
5
0
AC0STATE
WEN
R/W
R/W
4
0
4
0
Interrupt on signal inside window
Interrupt on signal outside window
Description
Interrupt on signal above window
Interrupt on signal below window
R/W
R
3
WINTMODE[1:0]
0
3
–
0
F
. The input to the Analog Comparator,
R/W
R/W
WIF
2
0
2
0
AC1IF
R/W
R/W
1
0
1
0
WINTLVL[1:0]
XMEGA D
AC0IF
R/W
R/W
0
0
0
0
WINCTRL
95. The
STATUS
255