3.4.2.4 SwTimerIsRunning

Definition: Checks whether a given timer is running or not.

Syntax

bool SwTimerIsRunning(uint8_t timerid);

Input Parameters

Table 3-35. Input Parameter

Parameter Name

Parameter Type

Description

timerId

uint8_t

Timer identifier

Return Type and Values

Table 3-36. Return Type

Parameters Name

Parameter Type

Description

bool

Boolean

  • ‘true’ – Timer is running
  • ‘false’ – Timer is stopped or not started

API Type – Synchronous