The DlnPwmGetPortCount() function retrieves the number of PWM ports available in your DLN-series adapter.
DlnPwmGetPortCount()
DLN_RESULT DlnPwmGetPortCount( HDLN handle, uint8_t* count );
A handle to the DLN-series adapter.
A pointer to an unsigned 8-bit integer that receives the number of available PWM ports.
The function successfully retrieved the number of PWM ports.
The DlnPwmGetPortCount() function is defined in the dln_pwm.h file.
dln_pwm.h