#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 dependency graph for main.c:
Go to the source code of this file.
Functions | |
int | main (void) |
Copyright (c) 2006 Atmel.
Please read file license.txt for copyright notice.
Definition in file main.c.
int main | ( | void | ) |
Definition at line 66 of file main.c.
References Clear_prescaler, scheduler(), Usb_enable_regulator, Wdt_change_enable, Wdt_clear_flag, Wdt_off, and Wdt_stop.
00067 { 00068 00069 Usb_enable_regulator(); 00070 00071 #ifndef AVRGCC 00072 Wdt_off(); 00073 #else 00074 wdt_reset(); 00075 Wdt_clear_flag(); 00076 Wdt_change_enable(); 00077 Wdt_stop(); 00078 #endif 00079 Clear_prescaler(); 00080 scheduler(); 00081 return 0; 00082 }
Here is the call graph for this function: