1.2.24.65 1.3.24.65 1.4.25.65 1.5.23.65 1.6.25.65 1.7.26.65 1.29.27.65 1.30.17.65 1.31.17.65 1.33.19.65 1.37.17.65 1.40.24.65 TCCx_PWM32bitCounterSet Function

C

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

Summary

Sets the counter value of a given TCC instance

Description

This function updates the counter value.

Precondition

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

Parameters

Param Description
count counter value of the timer

Returns

None.

Example

TCC0_PWMInitialize();
TCC0_PWM32bitCounterSet(0x100U);

Remarks

None.