1.3.23.28 TCx_Compare16bitMatch0Set Function
C
/* x = TC instance number */
void TCx_Compare16bitMatch0Set( uint16_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
uint16_t compareValue = 0x100;
TC0_CompareInitialize();
TC0_Compare16bitMatch0Set(compareValue);
Remarks
None