PxTickGetCount()

Get PXROS tick counter.

APPLIES TO

8.2.0

SYNOPSIS
PxTicks_t PxTickGetCount (void);
RETURN VALUES
  • PXROS tick counter

DESCRIPTION

PXROS maintains a tick counter, incremented by any call to PxTickDefine_Hnd. The value of this counter is returned by PxTickGetCount.

IMPLEMENTATION GUIDELINES
Before call
  • No checks necessary.

After call
  • No checks necessary.

Best Practice
  • No restrictions.

SEE ALSO
USAGE
#include "pxdef.h"

PxTicks_t ticks = PxTickGetCount();