1.34.11.7 PWMx_ChannelCounterEventStatusGet Function

C

/* x = PWM instance number */

bool PWMx_ChannelCounterEventStatusGet (PWM_CHANNEL_MASK channelMask)

Summary

Disables counter event of given channels

Description

This function disables the counter event of channels specified in channelMask.

Precondition

PWMx_Initialize() function must have been called first for the associated instance.

Parameters

Param Description
channelMask channel number

Returns

true - counter event of a channel occurred

false - counter event of a channel is not yet occurred

Example

bool status;
PWM0_Initialize();
status = PWM0_ChannelCounterEventStatusGet(PWM_CHANNEL_0);

Remarks

None