The DlnPlsCntGetEventCfg() function is used to get event configuration of the specified Pulse Counter port.
DlnPlsCntGetEventCfg()
DLN_RESULT DlnPlsCntGetEventCfg( HDLN handle, uint8_t port, uint8_t *eventType, uint32_t *repeatInterval );
A handle to the DLN-series adapter.
A number of the port to get configuration.
A pointer to an unsigned 8-bit integer. Defines the current event type parameter.
A pointer to an unsigned 32-bit integer. Defines the current repeat interval parameter
The function successfully retrieved the current event configuration.
The port number is not valid. Use the DlnPlsCntGetPortCount() function to find the maximum possible port number.
The DlnPlsCntGetEventCfg() function is defined in the dln_pls_cnt.h file.
dln_pls_cnt.h