1.2.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.