1.33.18.41 TCx_Compare8bitMatch1Set Function

C

/* x = TC instance number */
void TCx_Compare8bitMatch1Set( uint8_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

uint8_t compareValue = 0x100U;
TC0_CompareInitialize();
TC0_Compare8bitMatch1Set(compareValue);

Remarks

None