PxTickGetTicksFromMilliSeconds()

Convert time from milliseconds to PXROS ticks.

APPLIES TO

8.2.0

SYNOPSIS
PxTicks_t PxTickGetTicksFromMilliSeconds (PxULong_t millis);
ARGUMENTS
millis

Milliseconds to convert

RETURN VALUES
  • PXROS ticks

DESCRIPTION

PxTickGetTicksFromMilliSeconds converts the time given in milliseconds to the number of PXROS ticks.

IMPLEMENTATION GUIDELINES
Before call
  • millis must be a plausible value given as a constant (V) or a variable (C).

After call
  • No checks necessary.

Best Practice
  • No restrictions.

SEE ALSO
USAGE
#include "pxdef.h"

PxTicks_t ticks = PxTickGetTicksFromMilliSeconds(10);