1.3.23.34 1.4.24.34 1.5.22.34 1.6.24.34 1.7.25.34 1.29.26.34 1.30.16.34 1.31.16.34 1.32.29.34 1.33.18.34 1.37.16.34 1.38.24.34 1.39.21.34 1.40.23.34 TCx_Compare32bitMatch0Set Function

C

/* x = TC instance number */
void TCx_Compare32bitMatch0Set( uint32_t compareValue );

Summary

Writes compare value of the given compare channel 0.

Description

Set CC[0] compare value.

Precondition

TCx_CompareInitialize() function must have been called first.

Parameters

Param Description
compareValue value to set for compare channel 0

Returns

None.

Example

uint32_t compareValue = 0x100U;
TC0_CompareInitialize();
TC0_Compare32bitMatch0Set(compareValue);

Remarks

None