API Reference Manual  1.45.0
odp_timer_periodic_capability_t Struct Reference

Periodic timer capability. More...

#include <timer_types.h>

Collaboration diagram for odp_timer_periodic_capability_t:
[legend]

Data Fields

odp_fract_u64_t base_freq_hz
 Periodic timer pool base frequency in hertz. More...
 
uint64_t max_multiplier
 Maximum base frequency multiplier.
 
uint64_t res_ns
 Timeout resolution in nanoseconds.
 

Detailed Description

Periodic timer capability.

Examples
odp_timer_accuracy.c.

Definition at line 101 of file api/spec/timer_types.h.

Field Documentation

◆ base_freq_hz

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.

Examples
odp_timer_accuracy.c.

Definition at line 111 of file api/spec/timer_types.h.


The documentation for this struct was generated from the following file: