1.33.19.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