1.2.24.34 1.3.24.34 1.4.25.34 1.5.23.34 1.6.25.34 1.7.26.34 1.29.27.34 1.30.17.34 1.31.17.34 1.33.19.34 1.37.17.34 1.40.24.34 TCCx_Compare32bitCounterSet Function

C

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

Summary

Sets new timer counter value.

Description

This function sets new timer counter value.

Precondition

TCCx_CompareInitialize() function must have been called first.

Parameters

Param Description
count New count value to set

Returns

None.

Example

uint32_t count = 0x100;
TCC0_CompareInitialize();
TCC0_CompareStart();
TCC0_Compare32bitCounterSet(count);

Remarks

None.