#define MAX_AVR_FREQ 20000000
#define LOOP_OFFSET_16 31
#define LOOP_OFFSET_32 56
Visible in: | nut/os/timer.c | |
Used in: | NutTimerInsert() | nut/os/timer.c |
NutTimerProcessElapsed() | nut/os/timer.c | |
NutTimerStop() | nut/os/timer.c |
Visible in: | nut/os/timer.c | |
Used in: | NutGetTickCount() | nut/os/timer.c |
NutTimerIntr() | nut/os/timer.c |
Visible in: | nut/os/timer.c | |
Used in: | NutGetMillis() | nut/os/timer.c |
NutGetSeconds() | nut/os/timer.c | |
NutTimerIntr() | nut/os/timer.c |
Visible in: | nut/os/timer.c | |
Used in: | NutTimerInit() | nut/os/timer.c |
NutTimerIntr() | nut/os/timer.c |
Visible in: | nut/os/timer.c | |
Used in: | NutMicroDelay() | nut/os/timer.c |
NutTimerInit() | nut/os/timer.c |
Used in: | NutTimerCreate() | |
NutTimerProcessElapsed() |
clock_cache
static uint32_t clock_cache[0+1]
Used in: | NutClockSet() |
Prototyped in: | nut/include/sys/timer.h | |
Calls: | memset() | nut/c/string/memset.c |
References Variables: | clock_cache | nut/os/timer.c |
Prototyped in: | nut/include/sys/timer.h | |
Called by: | ArpCacheAging() | nut/net/arpcache.c |
DisplayUpTime() | nut/app/caltime/caltime.c | |
stime() | nut/crt/time.c | |
time() | nut/crt/time.c | |
References Variables: | system_time | nut/os/timer.c |
Prototyped in: | nut/include/sys/timer.h | |
Calls: | NutGetTickCount() | nut/os/timer.c |
NutHeapRootAlloc() | nut/os/heap.c | |
Called by: | NutTimerStartTicks() | nut/os/timer.c |
References Variables: | nut_ticks_resume | nut/os/timer.c |
Prototyped in: | nut/include/sys/timer.h | |
Calls: | NutGetCpuClock() | nut/os/timer.c |
NutGetTickClock() | nut/arch/m68k/coldfire/dev/mcf51cn/mcf51cn_ostimer.c | |
NutRegisterTimer() | nut/arch/m68k/coldfire/dev/mcf51cn/mcf51cn_ostimer.c | |
Called by: | NutIdle() | nut/os/nutinit.c |
THREAD() | nut/arch/h8300h/os/nutinit.c | |
idle() | nut/hwtest/avr/basemon/basemon.c | |
References Functions: | NutTimerIntr() | nut/os/timer.c |
References Variables: | _delay_loop_2_mult | nut/os/timer.c |
systick_us | nut/os/timer.c |
Prototyped in: | nut/include/sys/timer.h | |
Called by: | NutTimerProcessElapsed() | nut/os/timer.c |
NutTimerStartTicks() | nut/os/timer.c | |
NutTimerStop() | nut/os/timer.c | |
References Variables: | nutTimerList | nut/os/timer.c |
Prototyped in: | nut/include/sys/timer.h | |
Used in: | NutTimerInit() | nut/os/timer.c |
References Variables: | nut_ticks | nut/os/timer.c |
system_time | nut/os/timer.c | |
systick_us | nut/os/timer.c |
Prototyped in: | nut/include/sys/timer.h | |
Calls: | NutGetTickCount() | nut/os/timer.c |
NutHeapRootFree() | nut/os/heap.c | |
NutTimerInsert() | nut/os/timer.c | |
Called by: | NutThreadResume() | nut/os/thread.c |
References Variables: | nutTimerList | nut/os/timer.c |
nut_ticks_resume | nut/os/timer.c |
Prototyped in: | nut/include/sys/timer.h | |
Calls: | NutTimerCreate() | nut/os/timer.c |
NutTimerInsert() | nut/os/timer.c | |
Called by: | NutMsgQTimerCb() | nut/os/msg.c |
NutTimerStart() | nut/os/timer.c |
Prototyped in: | nut/include/sys/timer.h | |
Calls: | NutTimerInsert() | nut/os/timer.c |
Called by: | NutEventPostAsync() | nut/os/event.c |
NutMsgQStopTimer() | nut/os/msg.c | |
PeriodicDemo() | nut/app/timers/timers.c | |
References Variables: | nutTimerList | nut/os/timer.c |
void _delay_loop_1 ( uint8_t __count )
Delay loop using an 8-bit counter \c __count, so up to 256
iterations are possible. (The value 256 would have to be passed
as 0.) The loop executes three CPU cycles per iteration, not
including the overhead the compiler needs to setup the counter
register.
Thus, at a CPU speed of 1 MHz, delays of up to 768 microseconds
can be achieved.
Prototyped in: | nut/include/include2/util/delay_basic.h | |
Included from: | nut/include/include2/util/delay_basic.h |
void _delay_loop_2 ( uint16_t __count )
Delay loop using a 16-bit counter \c __count, so up to 65536
iterations are possible. (The value 65536 would have to be
passed as 0.) The loop executes four CPU cycles per iteration,
not including the overhead the compiler requires to setup the
counter register pair.
Thus, at a CPU speed of 1 MHz, delays of up to about 262.1
milliseconds can be achieved.
Prototyped in: | nut/include/include2/util/delay_basic.h | |
Included from: | nut/include/include2/util/delay_basic.h | |
Called by: | NutMicroDelay() | nut/os/timer.c |