next up previous contents index
Next: 6.17.3 osenv_timer_unregister: Request a Up: 6.17 Driver-Kernel Interface: Timing Previous: 6.17.1 osenv_timer_init: Initialize the

6.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_inline32841 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.



University of Utah Flux Research Group