CFG_CntrResetValue

CFG_CntrResetValue gets or sets the counters' reset value of the device. When the counter resets, the specified counter's count value will count from this preset value. The reset value can only be set to either 0x0 or 0x80000000.

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 reset value, which can be either 0x0 or 0x80000000.
For example, for a 2-counter device, the size of array is 2, if the value is [ 0x80000000,0x0], which means counter0's reset value is 0x80000000 and counter1's reset value is 0x0.

See also

DRV_DeviceGetProperty