ATEVK527 Atmel, ATEVK527 Datasheet - Page 11

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 Battery Charger Software
4.1 Scheduler
4.2 List of files
7801A-AVR-06/08
A scheduler is implemented to call indefinitely defined tasks. Before starting this
infinite loop, init functions are called.
There are three tasks. Each task is called after the end of the previous one (no pre-
emption).
Figure 4-1. Scheduler
The firmware is written in C language using IAR Systems Embedded Workbench®,
version 5.10. Since the firmware has been written entirely in C, it should not be a
difficult task to port it to other AVR C-compilers. Some compiler specific details may,
however, need to be rewritten.
In the table below are listed the files that are relevant to the compiler project.
Table 4-1. Project files for CDC application (see IAR EW workspace file )
File
cdc_task.c
cdc_task.h
main.c
main.h
power_drv.c
power_drv.h
scheduler.c
scheduler.h
start_boot.c
start_boot.h
time.c
time.h
CDC_task_init()
Scheduler task:
Usb_task_init()
Batt_task_init()
Scheduler Init:
CDC_task()
Usb_task()
Batt_task()
Type
C source code
Header file
C source code
Header file
C source code
Header file
C source code
Header file
C source code
Header file
C source code
Header file
Note
CDC task and CDC task init functions
Main program / Program entry point
Power management low level driver
Scheduler routines
Boot functions
Functions for timing
AVR146
11

Related parts for ATEVK527