1.7.26.61 TCCx_PWM24bitCounterSet Function

C

/* x = TCC instance number */
void TCCx_PWM24bitCounterSet(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

Returns

None

Example

TCC0_PWMInitialize();
TCC0_PWM24bitCounterSet(0x100U);

Remarks

This function waits till sync operation is complete.