The DlnPwmGetMaxFrequency() function retrieves the maximum possible value of the PWM frequency.
DlnPwmGetMaxFrequency()
DLN_RESULT DlnPwmGetMaxFrequency( HDLN handle, uint8_t port, uint32_t *frequency );
A handle to the DLN-series adapter.
A number of the PWM port.
A pointer to an unsigned 32-bit integer that receives the maximum frequency value for the DLN-series adapter.
The function successfully retrieved the maximum possible 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 DlnPwmGetMaxFrequency() function is defined in the dln_pwm.h file.
dln_pwm.h