|
API Reference Manual 1.51.0
|
Periodic timer capability. More...
#include <timer_types.h>
Data Fields | ||
| odp_timer_type_t | type | |
| Periodic timer type for which to check the frequency support. | ||
| union { | ||
| struct { | ||
| odp_fract_u64_t base_freq_hz | ||
| Periodic timer pool base frequency in hertz. More... | ||
| uint64_t max_multiplier | ||
| Maximum base frequency multiplier. More... | ||
| } base_mul | ||
| Capability for ODP_TIMER_TYPE_PERIODIC_BASE_MUL. | ||
| struct { | ||
| odp_fract_u64_t * freq_hz | ||
| Array of constraining periodic timer frequencies for timer pool in hertz in ascending order. More... | ||
| uint32_t num | ||
| Number of items in 'freq_hz' array. More... | ||
| } freq | ||
| Capability for ODP_TIMER_TYPE_PERIODIC_FREQ. | ||
| }; | ||
| Type specific configuration. | ||
| uint64_t | res_ns | |
| Timeout resolution in nanoseconds. | ||
Periodic timer capability.
Definition at line 106 of file api/spec/timer_types.h.
| odp_timer_type_t odp_timer_periodic_capability_t::type |
Periodic timer type for which to check the frequency support.
Allowed types are ODP_TIMER_TYPE_PERIODIC_BASE_MUL and ODP_TIMER_TYPE_PERIODIC_FREQ.
Definition at line 111 of file api/spec/timer_types.h.
| odp_fract_u64_t odp_timer_periodic_capability_t::base_freq_hz |
Periodic timer pool base frequency in hertz.
Base frequency is represented as a fractional number where the fraction part is always less than one. In other words, the integer part specifies whole hertz whereas the fraction part specifies parts of a hertz (if any). The fraction part does not need to be reduced to its lowest terms - e.g. 100.5 Hz may be represented as 100 1/2 Hz, 100 5/10 Hz, or 100 Hz with some other equivalent fraction part.
Definition at line 126 of file api/spec/timer_types.h.
| uint64_t odp_timer_periodic_capability_t::max_multiplier |
Maximum base frequency multiplier.
Definition at line 129 of file api/spec/timer_types.h.
| odp_fract_u64_t* odp_timer_periodic_capability_t::freq_hz |
Array of constraining periodic timer frequencies for timer pool in hertz in ascending order.
Definition at line 138 of file api/spec/timer_types.h.
| uint32_t odp_timer_periodic_capability_t::num |
Number of items in 'freq_hz' array.
Definition at line 141 of file api/spec/timer_types.h.
| uint64_t odp_timer_periodic_capability_t::res_ns |
Timeout resolution in nanoseconds.
Definition at line 148 of file api/spec/timer_types.h.