<< Previous | Next >>

OSSetTicksPerSec

INT16U OSSetTicksPerSec(INT16U TicksPerSec);

Description

Sets the number of ticks per second (from 8 - 1024). Ticks per second defaults to 64. Since this function uses integer division, the actual ticks per second may be slightly different that the desired ticks per second.

Parameters

TicksPerSec
Desired ticks per second, as an unsigned 16-bit integer.

Return value

The actual ticks per second set, as an unsigned 16-bit integer.

Library

UCOS2.LIB

See also

OSStart


020-0059 Rev. D << Previous | Next >> µC/OS-II