1.8.14.2 1.25.13.2 1.26.12.2 1.27.13.2 1.28.16.2 1.34.11.2 1.41.13.2 1.42.11.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