Specifications

alt_timestamp_freq()
Prototype
alt_u32 alt_timestamp_freq (void)
Commonly Called By
C/C++ programs
Thread-safe
See description.
Available from ISR
See description.
Include
<sys/alt_timestamp.h>
Description
The alt_timestamp_freq() function returns the rate at which the timestamp counter increments.
For more information, refer to “Using Timer Devices” in the "Developing Programs Using the Hardware
Abstraction Layer" chapter.
The implementation of this function is provided by the timestamp driver. Therefore, whether this
function is thread-safe and or available at interrupt level depends on the underlying driver.
Return
The returned value is the number of counter ticks per second.
Related Information
alt_timestamp() on page 14-50
alt_timestamp_start() on page 14-51
alt_timestamp_start()
Prototype
int alt_timestamp_start (void)
Commonly Called By
C/C++ programs
Thread-safe
See description.
NII5V2
2015.05.14
alt_timestamp_freq()
14-51
HAL API Reference
Altera Corporation
Send Feedback