1.13.13.14 MCPWM_ChannelPinsOwnershipEnable Function

C

void MCPWM_ChannelPinsOwnershipEnable (MCPWM_CH_NUM channel)

Summary

Sets the PWM output pins ownership to PWM generator

Description

PWM generator controls the PWM output pins PWMH and PWML.

Precondition

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

Parameters

Param Description
channel MCPWM channel number

Returns

None.

Example

MCPWM_Initialize();
MCPWM_ChannelPinsOwnershipEnable(MCPWM_CH_0);

Remarks

None