Specifications

Available from ISR
See description.
Include
<sys/alt_timestamp.h>
Description
The alt_timestamp_start() function starts the system timestamp counter.
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.
This function resets the counter to zero, and starts the counter running.
Return
The return value is zero on success and nonzero otherwise.
Related Information
alt_timestamp() on page 14-50
alt_timestamp_freq() on page 14-51
alt_write_flash()
Prototype
int alt_write_flash(alt_flash_fd* fd,
int offset,
const void* src_addr,
int length)
Commonly Called By
C/C++ programs
Device drivers
Thread-safe
No.
Available from ISR
No.
Include
<sys/alt_flash.h>
14-52
alt_write_flash()
NII5V2
2015.05.14
Altera Corporation
HAL API Reference
Send Feedback