File nut/include/sys/timer.h


Included Files


Preprocessor definitions

#define _SYS_TIMER_H

#define TM_ONESHOT 0x01

#define NUT_CACHE_LVALID 0x80000000UL

#define NUT_HWCLK_CPU 0

#define NUT_HWCLK_PERIPHERAL NUT_HWCLK_CPU

#define NUT_HWCLK_MAX NUT_HWCLK_PERIPHERAL

#define NutClockGet( i )


Typedef NUTTIMERINFO

typedef struct _NUTTIMERINFO NUTTIMERINFO
See: Type struct _NUTTIMERINFO

Type struct _NUTTIMERINFO

struct _NUTTIMERINFO
struct _NUTTIMERINFO  
   {  
      NUTTIMERINFO* tn_next;  
      NUTTIMERINFO* tn_prev;  
      uint32_t tn_ticks;  
      uint32_t tn_ticks_left;  
      void (*tn_callback)(HANDLE,void*);  
      volatile void* tn_arg;  
   }  

External Variables

nutTimerList
extern NUTTIMERINFO* nutTimerList
Defined in: nut/os/timer.c

system_time
extern volatile struct timeval system_time

Defined in: nut/os/timer.c