1.11.14.3 MCPWM_SecondaryPeriodSet Function

C

void MCPWM_SecondaryPeriodSet (uint16_t period)

Summary

Sets the period value of the secondary time base

Description

This function writes the period value of the secondary time base generator.

Precondition

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

Parameters

Param Description
period period value corresponding to MCPWM frequency

Returns

None.

Example

MCPWM_Initialize();
MCPWM_Start();
MCPWM_SecondaryPeriodSet(0x500);

Remarks

None