1.10.13.7 1.11.14.7 1.12.14.7 1.13.13.7 MCPWM_PrimaryPeriodGet Function

C

uint16_t MCPWM_PrimaryPeriodGet (void)

Summary

Reads the period value of primary time base generator

Description

This function reads the period value of primary time base generator

Precondition

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

Parameters

None

Returns

The MCPWM primary time base period value

Example

uint16_t period;
MCPWM_Initialize();
period = MCPWM_PrimaryPeriodGet();

Remarks

None