SwTimerIsRunning

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

Syntax

bool SwTimerIsRunning(uint8_t timerid);

Input Parameters

Table 1. Input Parameter

Parameter Name

Parameter Type

Description

timerId

uint8_t

Timer identifier

Return Type and Values

Table 2. Return Type

Parameters Name

Parameter Type

Description

bool

Boolean

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

API Type – Synchronous