next up previous contents index
Next: 8.17.3 osenv_timer_unregister: Request a Up: 8.17 Driver-Kernel Interface: Timing Previous: 8.17.1 osenv_timer_init: Initialize the

8.17.2 osenv_timer_register: Request a timer handler be called at the specified frequency

 

SYNOPSIS

void osenv_timer_register(void (*func)(void), int freq);

DIRECTION

Component tex2html_wrap_inline36701 OS, Nonblocking

DESCRIPTION

Requests that the function func gets called freq times per second.

XXX: Default implementation currently only works for freq equal to 100.

PARAMETERS

func
Address of function to be called.
freq
Times per second to call the handler.



Utah Flux Research Group