The DlnPlsCntGetValue() function retrieves the current timer and counter values of the specified Pulse Counter port.
DlnPlsCntGetValue()
DLN_RESULT DlnPlsCntGetValue( HDLN handle, uint8_t port, uint32_t *timerValue, uint32_t *counterValue );
A handle to the DLN-series adapter.
A number of the port.
A pointer to an unsigned 32-bit integer that receives the timer value.
A pointer to an unsigned 32-bit integer that receives the counter value.
The function successfully retrieved the timer and counter values.
The port number is not valid. Use the DlnPlsCntGetPortCount() function to find the maximum possible port number.
The DlnPlsCntGetValue() function is defined in the dln_pls_cnt.h file.
dln_pls_cnt.h