main.c File Reference

#include "config.h"
#include "modules/scheduler/scheduler.h"
#include "lib_mcu/wdt/wdt_drv.h"
#include "lib_mcu/power/power_drv.h"
#include "lib_mcu/usb/usb_drv.h"
#include "lib_mcu/util/start_boot.h"

Include dependency graph for main.c:

Go to the source code of this file.

Functions

int main (void)
Procedure to speed up the startup code
This one increment the CPU clock before RAM initialisation

char __low_level_init ()


Detailed Description

Main for USB application.

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file main.c.


Function Documentation

int main ( void   ) 

Definition at line 100 of file main.c.

References Clear_prescaler, scheduler(), start_boot_if_required(), Usb_enable_regulator, and wdtdrv_disable().

00101 {
00102    Usb_enable_regulator();
00103    wdtdrv_disable();
00104    start_boot_if_required();
00105    Clear_prescaler();
00106    scheduler();
00107    return 0;
00108 }

Here is the call graph for this function:

char __low_level_init (  ) 

Definition at line 122 of file main.c.

References Clear_prescaler.

00123 {
00124   Clear_prescaler();
00125   return 1;
00126 }


Generated on Fri Sep 11 14:46:05 2009 for ATMEL by  doxygen 1.5.3