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

Go to the source code of this file.


#define NUT_CPU_FREQ   1000000UL
#define NUT_TICK_FREQ   1000UL


void Timer3Entry (void *arg)
 Timer 0 interrupt entry.
void NutRegisterTimer (void(*handler)(void *))
 Initialize system timer.
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.