Nut/OS  4.10.3
API Reference
timer.h
Go to the documentation of this file.
00001 #ifndef _ARCH_AVR32_TIMER_H_
00002 #define _ARCH_AVR32_TIMER_H_
00003 
00039 /*
00040  * $Log: timer.h,v $
00041  *
00042  */
00043 
00044 #include <cfg/clock.h>
00045 #include <dev/irqreg.h>
00046 
00047 #define NutEnableTimerIrq() 
00048 #define NutDisableTimerIrq() NutIrqDisable(&sig_sysCompare)
00049 
00053 #define NUT_HWCLK_PERIPHERAL_A 1
00054 
00058 #define NUT_HWCLK_PERIPHERAL_B 2
00059 
00063 #define NUT_HWCLK_PERIPHERAL_HSB 3
00064 
00070 #define NUT_HWCLK_SLOW_CLOCK 4
00071 
00072 #define NUT_HWCLK_MAX 4
00073 #define NUT_HWCLK_PERIPHERAL NUT_HWCLK_PERIPHERAL_A
00074 
00075 #endif // _ARCH_AVR32_TIMER_H_