ATEVK527 Atmel, ATEVK527 Datasheet - Page 24

no-image

ATEVK527

Manufacturer Part Number
ATEVK527
Description
KIT EVAL PWM AVR USB 4 SERIES
Manufacturer
Atmel
Series
AVR®r
Datasheet

Specifications of ATEVK527

Main Purpose
Power Management, Battery Charger
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
ATmega16U4, ATmega32U4
Primary Attributes
1 Cell- Li-Ion
Secondary Attributes
Graphical User Interface, USB Interface
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
4.6 Other Functions
4.6.1 A/D Conversion
24
AVR146
Figure 5-7. Flow chart for HaltNow() part 4
The A/D converter uses the multiplexer to read in data from several channels. At the
end of a conversion the ADC Interrupt Service Routine (ISR) is called, as illustrated in
the flow chart below. After the ISR is complete program execution will return to
normal. For all MUX values, the ADC reference voltage is the 2.56V internal
reference.
BatteryCheck() OK?
Battery temperature
too cold or hot?
NO
3
set ST_ERROR as next
temperature error and
Set ST_INIT as next
Stop PWM output.
YES
NO
Flag a battery
Set Halt flag.
Set Halt flag.
state.
state.
YES
Is mains voltage
Return Halt flag.
OK?
YES
Set ST_SLEEP as next
Stop PWM output.
NO
Set Halt flag.
7801A-AVR-06/08
state.

Related parts for ATEVK527