procedure Timer_Create ( Name : in RTEMS.Name; ID : out RTEMS.ID; Result : out RTEMS.Status_Codes );
RTEMS.SUCCESSFUL
- timer created successfully
RTEMS.INVALID_NAME
- invalid timer name
RTEMS.TOO_MANY
- too many timers created
This directive creates a timer. The assigned timer id is returned in id. This id is used to access the timer with other timer manager directives. For control and maintenance of the timer, RTEMS allocates a TMCB from the local TMCB free pool and initializes it.
This directive will not cause the calling task to be preempted.
Copyright © 1988-2004 OAR Corporation