1.2.24.41 1.3.24.41 1.4.25.41 1.5.23.41 1.6.25.41 1.7.26.41 1.29.27.41 1.30.17.41 1.31.17.41 1.33.19.41 1.37.17.41 1.40.24.41 TCCx_CompareStatusGet Function

C

/* x = TCC instance number */
TCCx_COMPARE_STATUS TCCx_CompareStatusGet( void );

Summary

Reads status of compare operation.

Description

This function reads the compare status.

Precondition

TCCx_CompareInitialize() function must have been called first.

Parameters

None.

Returns

Status of compare operation.

Example

TCC0_COMPARE_STATUS compareStatus;
TCC0_CompareInitialize();
TCC0_CompareStart();
compareStatus = TCC0_CompareStatusGet();

Remarks

None.