Nut/OS  4.10.3
API Reference
ostimer_s3c4510b.c File Reference
#include <cfg/arch.h>
Include dependency graph for ostimer_s3c4510b.c:

Go to the source code of this file.


#define NUT_CPU_FREQ   1000000UL
#define NUT_TICK_FREQ   1000UL


void NutRegisterTimer (void(*handler)(void *))
 Timer 0 interrupt entry.
uint32_t NutArchClockGet (int idx)
 Return the CPU clock in Hertz.
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_CPU_FREQ   1000000UL

Definition at line 99 of file ostimer_s3c4510b.c.

Referenced by NutArchClockGet().

#define NUT_TICK_FREQ   1000UL

Definition at line 103 of file ostimer_s3c4510b.c.

Referenced by NutGetTickClock(), and NutTimerMillisToTicks().