2.18.10 CMPx_DACDataHighWrite Function

C

// x is the instance number of the CMP peripheral
inline static void CMPx_DACDataHighWrite(uint16_t dacHighLimit);

Summary

Sets the higher limit of slope .

Description

This inline function writes higher limit of the slope.

Precondition

None.

Parameters

ParamDescription
dacHighLimithigher limit of slope

Returns

None.

Example

CMP1_DACDataHighWrite(0xF32);

Remarks

Available only in slope mode.