Nut/OS  4.10.3
API Reference
ostimer_at91.c File Reference
#include <cfg/os.h>
#include <cfg/clock.h>
#include <arch/arm.h>
#include <dev/irqreg.h>
#include <sys/timer.h>
Include dependency graph for ostimer_at91.c:

Go to the source code of this file.

Defines

#define NUT_DEPRECATED
#define NUT_CPU_FREQ   73728000UL
#define NUT_TICK_FREQ   1000UL

Functions

void NutRegisterTimer (void(*handler)(void *))
 Initialize system timer.
uint32_t NutGetTickClock (void)
 Return the number of system ticks per second.
uint32_t NutTimerMillisToTicks (uint32_t ms)
 Calculate system ticks for a given number of milliseconds.

Define Documentation

#define NUT_DEPRECATED

Definition at line 139 of file ostimer_at91.c.

#define NUT_CPU_FREQ   73728000UL

Definition at line 151 of file ostimer_at91.c.

Referenced by NutGetCpuClock(), and NutRegisterTimer().