1.2.24.67 1.3.24.67 1.4.25.67 1.5.23.67 1.6.25.67 1.7.26.67 1.29.27.67 1.30.17.67 1.31.17.67 1.33.19.67 1.37.17.67 1.40.24.67 TCCx_PWM32bitPeriodGet Function

C

/* x = TCC instance number */
uint32_t TCCx_PWM32bitPeriodGet ( void );

Summary

Reads the period value of a given TCC instance.

Description

This function reads the period value.

Precondition

TCCx_PWMInitialize function must have been called first for the given channel.

Parameters

None

Returns

Period value of TCC instance

Example

uint32_t period;
TCC0_PWMInitialize();
period = TCC0_PWM32bitPeriodGet();

Remarks

None.