The DlnPlsCntIsEnabled() function informs whether a port is currently configured as Pulse counter.
DlnPlsCntIsEnabled()
DLN_RESULT DlnPlsCntIsEnabled( HDLN handle, uint8_t port, uint8_t *enabled );
A handle to the DLN-series adapter.
A number of the port.
A pointer to an unsigned 8-bit integer that receives the current port configuration.
The function successfully retrieved information about the Pulse counter port.
The port number is not valid. Use the DlnPlsCntGetPortCount() function to find the maximum possible port number.
The DlnPlsCntIsEnabled() function is defined in the dln_pls_cnt.h file.
dln_pls_cnt.h