1.3.23.24 1.4.24.24 1.5.22.24 1.6.24.24 1.7.25.24 1.29.26.24 1.30.16.24 1.31.16.24 1.32.29.24 1.33.18.24 1.37.16.24 1.38.24.24 1.39.21.24 1.40.23.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.