1.2.24.63 1.3.24.63 1.4.25.63 1.5.23.63 1.6.25.63 1.7.26.63 1.29.27.63 1.30.17.63 1.31.17.63 1.33.19.63 1.37.17.63 1.40.24.63 TCCx_PWM24bitPeriodGet Function

C

/* x = TCC instance number */
uint32_t TCCx_PWM24bitPeriodGet ( 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_PWM24bitPeriodGet();

Remarks

None