1.8.14.8 1.25.13.8 1.26.12.8 1.27.13.8 1.28.16.8 1.34.11.8 1.41.13.8 1.42.11.8 PWMx_ChannelCounterEventEnable Function

C

/* x = PWM instance number */

void PWMx_ChannelCounterEventEnable (PWM_CHANNEL_MASK channelMask)

Summary

Enables counter event of given channels

Description

This function enables 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 set of channel numbers

Returns

None

Example

PWM0_Initialize();
PWM0_ChannelCounterEventEnable(PWM_CHANNEL_0_MASK);

Remarks

None