The DlnPlsCntReset() function resets the timer and/or counter on the Pulse Counter port.
DlnPlsCntReset()
DLN_RESULT DlnPlsCntReset( HDLN handle, uint8_t port, uint8_t resetTimer, uint8_t resetCounter );
A handle to the DLN-series adapter.
A number of the port.
Defines whether the timer needs to be reset. To reset the timer, specify any value greater than 0 to this parameter.
Defines whether counter need to be reset. To reset the counter, specify any value greater than 0 to this parameter.
The function successfully reset the timer and/or counter values.
The port number is not valid. Use the DlnPlsCntGetPortCount() function to find the maximum possible port number.
The DlnPlsCntReset() function is defined in the dln_pls_cnt.h file.
dln_pls_cnt.h