File nut/app/timers/timers.c


Included Files


Global Function NutAppMain()

int NutAppMain ( void )
Calls: DelayDemo() nut/app/timers/timers.c
  OneShotDemo() nut/app/timers/timers.c
  PeriodicDemo() nut/app/timers/timers.c
  SleepDemo() nut/app/timers/timers.c
  NutGetCpuClock(), NutRegisterDevice(), NutTimerMillisToTicks(), _fileno(), _ioctl(), freopen(), printf(), puts()

Local Function DelayDemo()

static void DelayDemo ( void )
Calls: NutGetMillis(), NutMicroDelay(), printf()
Called by: NutAppMain() nut/app/timers/timers.c

Local Function OneShotDemo()

static void OneShotDemo ( int s )
Calls: NutEventWait(), NutTimerStart(), printf(), puts()
Called by: NutAppMain() nut/app/timers/timers.c
References Functions: TimerCallback() nut/app/timers/timers.c

Local Function PeriodicDemo()

static void PeriodicDemo ( int s )
Calls: NutEventWait(), NutGetMillis(), NutTimerStart(), NutTimerStop(), printf(), puts()
Called by: NutAppMain() nut/app/timers/timers.c
References Functions: TimerCallback() nut/app/timers/timers.c

Local Function SleepDemo()

static void SleepDemo ( void )
Calls: NutGetMillis(), NutSleep(), printf()
Called by: NutAppMain() nut/app/timers/timers.c

Local Function TimerCallback()

static void TimerCallback ( HANDLE timer, void* arg )
Calls: NutEventPostAsync()
Used in: OneShotDemo() nut/app/timers/timers.c
  PeriodicDemo() nut/app/timers/timers.c