1.14.2.26 CCPx_Compare16bitRBValueSet Function
C
/* x = CCP instance number */
void CCPx_Compare16bitRBValueSet( uint16_t compareValue )
Summary
Writes higher 16bits of compare value.
Description
Set higher 16bits of compare value.
Precondition
CCPx_CompareInitialize() function must have been called first.
Parameters
Param | Description |
---|---|
compareValue | higher 16bits value to set for compare |
Returns
None.
Example
uint16_t compareValue = 0x100;
CCP1_CompareInitialize();
CCP1_Compare16bitRBValueSet(compareValue);
Remarks
None