1.8.14.7 1.25.13.7 1.26.12.7 1.27.13.7 1.28.16.7 1.34.11.7 1.41.13.7 1.42.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