RTEMS 6.1-rc6
|
Header defining architecture-specific clock functions. More...
#include <rtems/score/basedefs.h>
Go to the source code of this file.
Functions | |
uint64_t | arm_gt_clock_get_compare_value (void) |
void | arm_gt_clock_set_compare_value (uint64_t cval) |
uint64_t | arm_gt_clock_get_count (void) |
void | arm_gt_clock_set_control (uint32_t ctl) |
void | arm_generic_timer_get_config (uint32_t *frequency, uint32_t *irq) |
Header defining architecture-specific clock functions.
void arm_generic_timer_get_config | ( | uint32_t * | frequency, |
uint32_t * | irq | ||
) |
This function gets the frequency and IRQ number used by the ARM General Purpose Timer.
[out] | frequency | The frequency at which the timer will fire. |
[out] | irq | The number of the IRQ on which the timer will fire. |
uint64_t arm_gt_clock_get_compare_value | ( | void | ) |
This function returns the current compare value for the ARM General Purpose Timer.
uint64_t arm_gt_clock_get_count | ( | void | ) |
This function returns the count for the ARM General Purpose Timer.
void arm_gt_clock_set_compare_value | ( | uint64_t | cval | ) |
This function sets the current compare value for the ARM General Purpose Timer.
[in] | cval | The value to set as the compare value |
void arm_gt_clock_set_control | ( | uint32_t | ctl | ) |
This function sets the control register for the ARM General Purpose Timer.
[in] | ctl | The value to set to the control register |