RTEMS 6.1-rc2
|
This header file provides the Timecounter Support API. More...
Go to the source code of this file.
Data Structures | |
struct | rtems_timecounter_simple |
Simple timecounter to support legacy clock drivers. More... | |
Macros | |
#define | RTEMS_TIMECOUNTER_QUALITY_CLOCK_DRIVER 100 |
Timecounter quality for the clock drivers. | |
Typedefs | |
typedef void | rtems_timecounter_simple_at_tick(rtems_timecounter_simple *tc) |
At tick handling done under protection of the timecounter lock. | |
typedef uint32_t | rtems_timecounter_simple_get(rtems_timecounter_simple *tc) |
Returns the current value of a simple timecounter. | |
typedef bool | rtems_timecounter_simple_is_pending(rtems_timecounter_simple *tc) |
Returns true if the interrupt of a simple timecounter is pending, and false otherwise. | |
Functions | |
void | rtems_timecounter_simple_install (rtems_timecounter_simple *tc, uint32_t counter_frequency_in_hz, uint32_t counter_ticks_per_clock_tick, timecounter_get_t *get_timecount) |
Initializes and installs a simple timecounter. | |
This header file provides the Timecounter Support API.