![]() |
RTEMS 5.4-rc2
|
Clock Tick Device Driver. More...
#include <bsp.h>#include <bspopts.h>#include <rtems/sysinit.h>#include <rtems/timecounter.h>#include <rtems/score/sparcimpl.h>#include "../../../shared/dev/clock/clockimpl.h"Functions | |
| RTEMS_SYSINIT_ITEM (leon2_clock_initialize_early, RTEMS_SYSINIT_CPU_COUNTER, RTEMS_SYSINIT_ORDER_FIRST) | |
| uint32_t | _CPU_Counter_frequency (void) |
| Returns the current CPU counter frequency in Hz. | |
Variables | |
| int | CLOCK_SPEED |
| SPARC_COUNTER_DEFINITION | |
Clock Tick Device Driver.
This routine initializes LEON timer 1 which used for the clock tick.
The tick frequency is directly programmed to the configured number of microseconds per tick.