Defines | |
| #define | NUT_CPU_FREQ 14000000UL |
| #define | SCALE 1 |
| Timer emulation. | |
Functions | |
| void * | NutTimerEmulation (void *arg) |
| 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. | |
Variables | |
| int | timer_count |
| #define NUT_CPU_FREQ 14000000UL |
Referenced by NutArchClockGet().
| #define SCALE 1 |
Timer emulation.
send interrupt signal to NUT thread on every 10ms tick
Referenced by NutTimerEmulation().
| void* NutTimerEmulation | ( | void * | arg | ) |
References irq_signal, NULL, NutUnixRaiseInterrupt(), and SCALE.
Referenced by NutRegisterTimer().
| int timer_count |