main.c

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 
00039 
00040 
00041 
00042 //_____  I N C L U D E S ___________________________________________________
00043 
00044 #include "config.h"
00045 #include "modules/scheduler/scheduler.h"
00046 #include "lib_mcu/wdt/wdt_drv.h"
00047 #include "lib_mcu/power/power_drv.h"
00048 #include "lib_mcu/usb/usb_drv.h"
00049 
00050 //_____ M A C R O S ________________________________________________________
00051 
00052 //_____ D E F I N I T I O N S ______________________________________________
00053 
00054 void main(void)
00055 {
00056 
00057   Usb_enable_regulator();
00058 
00059 #ifndef  AVRGCC
00060    Wdt_off();
00061 #else
00062    wdt_reset();
00063    Wdt_clear_flag();
00064    Wdt_change_enable();
00065    Wdt_stop();
00066 #endif
00067    Clear_prescaler();
00068 
00069    scheduler();
00070 }
00071 

Generated on Fri Jun 15 14:07:32 2007 for Atmel by  doxygen 1.5.1-p1