1.13.13.4 MCPWM_SecondaryPeriodGet Function

C

uint16_t MCPWM_SecondaryPeriodGet (void)

Summary

Reads the period value of secondary time base generator

Description

This function reads the period value of secondary time base generator

Precondition

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

Parameters

None

Returns

The MCPWM secondary time base period value

Example

uint16_t period;
MCPWM_Initialize();
period = MCPWM_SecondaryPeriodGet();

Remarks

None