CFG_CntrCompareData

CFG_CntrCompareData gets or sets the counters' compare data of the device.
This data is used for comparing with the counter's count value.
In the property CFG_CntrIndicatorControl, four types of indicators are provided: OVERCOMPLEVEL, OVERCOMPPULSE, UNDERCOMPLEVEL, UNDERCOMPPULSE. When the Indicator is set to OVERCOMPLEVEL/OVERCOMPPULSE, when the counter's count value exceeds the compare data, the indicator will indicate over compare state (level or pulse) ; When the Indicator is set to UNDERCOMPLEVEL/OVERCOMPPULSE, when the counter's count value below the compare data, the indicator will be on an under compare state (level or pulse).

Description

Type INT32U array
Length 4 bytes for one counter channel
Access type Read/Write
Value Each element in the array represents one counter's compare data.

See also

DRV_DeviceGetProperty

CFG_CntrIndicatorControl