Datasheet
111
8024A–AVR–04/08
ATmega8HVA/16HVA
19.7.5 CADRC- CC-ADC Regular Current
The CC-ADC Regular Current Register determines the threshold level for the Regular Current
detection. When the result of a CC-ADC Instantaneous Current conversion has an absolute
value greater than, or equal to, the Regular Current level, the CC-ADC Regular Current Interrupt
Flag is set.
The value in this register defines the eight least significant bits of the Regular Current level. The
most significant bits of the Regular Current level are always zero. The programmable range for
the Regular Current level is given in Table 19-3.
The CC-ADC Regular Current Register does not affect the setting of the CC-ADC Conversion
Complete Interrupt Flag.
Bit 76543210
(0xE6)
CADRC[7:0] CADRC
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value 00000000
Table 19-3. Programmable Range for the Regular Current Level
Minimum Maximum Step size
Voltage (µV) 0 6848 26.9
Current (mA) R
SENSE
= 1 mΩ 0 6848 26.9
R
SENSE
= 5 mΩ 0 1370 5.4
R
SENSE
= 10 mΩ 0 685 2.7