Specifications

Commonly Called By
C/C++ programs
Device drivers
Thread-safe
Yes.
Available from ISR
Yes.
Include
<sys/alt_alarm.h>
Description
The alt_nticks() function.
Return
Returns the number of elapsed system clock tick since reset. It returns zero if there is no system clock
available.
Related Information
alt_alarm_start() on page 14-10
alt_alarm_stop() on page 14-11
alt_sysclk_init() on page 14-65
alt_tick() on page 14-48
alt_ticks_per_second() on page 14-49
gettimeofday() on page 14-72
settimeofday() on page 14-61
times() on page 14-67
usleep() on page 14-70
alt_read_flash()
Prototype
int alt_read_flash(alt_flash_fd* fd,
int offset,
void* dest_addr,
int length)
Commonly Called By
C/C++ programs
Device drivers
NII5V2
2015.05.14
alt_read_flash()
14-47
HAL API Reference
Altera Corporation
Send Feedback