2.90.31 PWM_SoftwareUpdatePending Function

C

inline static bool PWM_SoftwareUpdatePending(PWM_GENERATOR genNum)

Summary

This inline function gets the status of the update request for specific PWM generator selected by the argument PWM_GENERATOR Enum

Description

This function checks whether a software update is currently pending for the selected PWM generator. The function returns a boolean value indicating whether the update has been requested and is awaiting processing.

Precondition

None

Parameters

ParamDescription
genNumPWM generator number

Returns

true - Software update is pending.

false - Software update is not pending.

Example

bool status;
status = PWM_SoftwareUpdatePending(PWM_GENERATOR_1);

Remarks

None