Altera_Forum
Honored Contributor
16 years agoalt_alarm_start()
int alt_alarm_start (alt_alarm* alarm,
alt_u32 nticks, alt_u32 (*callback) (void* context), void* context); according to the handbook, program would transfer alt_u32 (*callback)(void* context) after nticks, void* context is the input parameter of the function, does the two void* contexts are the same? and how to receive the return value of the (*callback) function?