ATmega406 Atmel Corporation, ATmega406 Datasheet - Page 110

no-image

ATmega406

Manufacturer Part Number
ATmega406
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega406

Flash (kbytes)
40 Kbytes
Pin Count
48
Max. Operating Frequency
1 MHz
Cpu
8-bit AVR
# Of Touch Channels
8
Hardware Qtouch Acquisition
No
Max I/o Pins
18
Ext Interrupts
4
Usb Speed
No
Usb Interface
No
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
Adc Resolution (bits)
12
Adc Speed (ksps)
1.9
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
2
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-30 to 85
I/o Supply Class
4.0 to 25
Operating Voltage (vcc)
4.0 to 25
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
3
Pwm Channels
2
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega406-1AAU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega406-1AAU
Manufacturer:
AT
Quantity:
20 000
18.2.2
110
ATmega406
CADCSRB – CC-ADC Control and Status Register B
• Bits 2:1 – CADSI1:0: CC-ADC Current Sampling Interval
The CADSI bits determine the current sampling interval for the Regular Current detection as
shown in
Table 18-2.
Notes:
• Bit 0 – CADSE: CC-ADC Current Sampling Enable
When the CADSE bit is written to one, the ongoing CC-ADC conversion is aborted, and the CC-
ADC enters Regular Current detection mode.
• Bits 7, 3 – Res: Reserved
These bits are reserved bits in the ATmega406 and will always read as zero.
• Bit 6 – CADACIE: CC-ADC Accumulate Current Interrupt Enable
When the CADACIE bit is set (one), and the I-bit in the Status Register is set (one), the CC-ADC
Accumulate Current Interrupt is enabled.
• Bit 5 – CADRCIE: CC-ADC Regular Current Interrupt Enable
When the CADRCIE bit is set (one), and the I-bit in the Status Register is set (one), the CC-ADC
Regular Current Interrupt is enabled.
• Bit 4 – CADICIE: CC-ADC Instantaneous Current Interrupt Enable
When the CADICIE bit is set (one), and the I-bit in the Status Register is set (one), the CC-ADC
Instantaneous Current Interrupt is enabled.
• Bit 2 – CADACIF: CC-ADC Accumulate Current Interrupt Flag
The CADACIF bit is set (one) after the Accumulate Current conversion has completed. The CC-
ADC Accumulate Current Interrupt is executed if the CADACIE bit and the I-bit in SREG are set
(one). CADACIF is cleared by hardware when executing the corresponding Interrupt Handling
Vector. Alternatively, CADACIF is cleared by writing a logic one to the flag.
• Bit 1 – CADRCIF: CC-ADC Regular Current Interrupt Flag
Bit
(0xE5)
Read/Write
Initial Value
1. The actual value of depends on the actual frequency of the
2. Sampling time ~ 12 ms.
CADSI1:0
Table
See
00
01
10
11
CC-ADC Regular Current Sampling Interval
”Electrical Characteristics” on page
R
7
0
18-2. The current sampling interval is only used if the CADSE bit is set.
CADACIE
R/W
6
0
CADRCIE
R/W
5
0
CC-ADC Regular Current Sampling Interval
CADICIE
R/W
4
0
225.
250 ms (+ sampling time)
500 ms (+ sampling time)
1 s (+ sampling time)
2 s (+ sampling time)
R
3
0
CADACIF
R/W
2
0
”Slow RC Oscillator” on page
CADRCIF
R/W
1
0
CADICIF
R/W
(1)(2)
0
0
2548E–AVR–07/06
CADCSRB
27.

Related parts for ATmega406