1.8.14.2 PWMx_ChannelsStop Function

C

/* x = PWM instance number */

void PWMx_ChannelsStop (PWM_CHANNEL_MASK channelMask)

Summary

Stops the given PWM channels

Description

This function disables the PWM 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_ChannelsStart(PWM_CHANNEL_0_MASK);
PWM0_ChannelsStop(PWM_CHANNEL_0_MASK);

Remarks

None