The DlnPwmGetFrequency() function retrieves the current PWM frequency.
A handle to the DLN-series adapter.
A number of the PWM port.
A number of the PWM channel.
A pointer to an unsigned 32-bit integer that receives the current frequency setting for the DLN-series adapter.
The function successfully retrieved the current frequency value.
The port number is not valid. Use the DlnPwmGetPortCount() function to find the maximum possible port number.
The channel number is not valid. Use the DlnPwmGetChannelCount() function to find the maximum possible port number.
The DlnPwmGetFrequency() function is defined in the dln_pwm.h file.