Class Hierarchy   Compound List   File List   Compound Members   File Members  

time.h File Reference

Internal system time functions. More...

Functions


Detailed Description

Internal system time functions.

Author(s):
Markus L. Noga <noga@inrialpes.fr>


Function Documentation

void systime_init (void)

initialize system timer.

task switcher initialized to empty handler motors turned off

void systime_shutdown (void)

shutdown system timer.

will also stop task switching and motors.

void systime_set_switcher (void * switcher)

set task switcher vector.

Parameters:
switcher - the switcher

void systime_set_timeslice (unsigned char slice)

set multitasking timeslice in ms.

Parameters:
slice - the timeslice. must be at least 5ms.

legOS-0.1.7 is released under Mozilla Public License. Original code © 1998-1999 by Markus L. Noga.