1.2.24.35 1.3.24.35 1.4.25.35 1.5.23.35 1.6.25.35 1.7.26.35 1.29.27.35 1.30.17.35 1.31.17.35 1.33.19.35 1.37.17.35 1.40.24.35 TCCx_Compare32bitMatchSet Function
C
/* x = TCC instance number */
void TCCx_Compare32bitMatchSet( TCCx_CHANNEL_NUM channel, uint32_t compareValue );
Summary
Writes compare value of the given compare channel
Description
Set compare value of given channel
Precondition
TCCx_CompareInitialize() function must have been called first.
Parameters
Param | Description |
---|---|
channel | compare channel number |
compareValue | value to set for compare channel |
Returns
None.
Example
uint32_t compareValue = 0x100;
TCC0_CompareInitialize();
TCC0_Compare32bitMatchSet(TCC0_CHANNEL0, compareValue);
Remarks
None.