1.3.23.29 1.4.24.29 1.5.22.29 1.6.24.29 1.7.25.29 1.29.26.29 1.30.16.29 1.31.16.29 1.32.29.29 1.33.18.29 1.37.16.29 1.38.24.29 1.39.21.29 1.40.23.29 TCx_Compare16bitMatch1Set Function

C

/* x = TC instance number */
void TCx_Compare16bitMatch1Set( uint16_t compareValue );

Summary

Writes compare value of the given compare channel 1.

Description

Set CC[1] compare value.

Precondition

TCx_CompareInitialize() function must have been called first.

Parameters

Param Description
compareValue value to set for compare channel 1

Returns

None.

Example

uint16_t compareValue = 0x100U;
TC0_CompareInitialize();
TC0_Compare16bitMatch1Set(compareValue);

Remarks

None