1.29.26.24 TCx_CompareStatusGet Function
C
/* x = TC instance number */
TCx_COMPARE_STATUS TCx_CompareStatusGet( void );
Summary
Reads status of compare operation.
Description
This function reads the compare status.
Precondition
TCx_CompareInitialize() function must have been called first.
Parameters
None.
Returns
Status of compare operation
Example
TC0_COMPARE_STATUS compareStatus; TC0_CompareInitialize(); TC0_CompareStart(); compareStatus = TC0_CompareStatusGet();
Remarks
None.