1.15.2.27 CCPx_Compare16bitRBValueGet Function

C

/* x = CCP instance number */

uint16_t CCPx_Compare16bitRBValueGet(void)

Summary

Gets higher 16 bits of compare value.

Description

Gets higher 16 bits of compare value.

Precondition

CCPx_CompareInitialize() function must have been called first.

Parameters

None.

Returns

uint16_t - higher 16 bit value set for compare

Example

uint16_t compareValue;
CCP1_CompareInitialize();
compareValue = CCP1_Compare16bitRBValueGet();

Remarks

None