1.15.2.29 CCPx_Compare16bitRAValueGet Function

C

/* x = CCP instance number */

uint16_t CCPx_Compare16bitRAValueGet(void)

Summary

Gets lower 16 bits of compare value.

Description

Gets lower 16 bits of compare value.

Precondition

CCPx_CompareInitialize() function must have been called first.

Parameters

None.

Returns

uint16_t - lower 16 bit value set for compare

Example

uint16_t compareValue;
CCP1_CompareInitialize();
compareValue = CCP1_Compare16bitRAValueGet();

Remarks

None