DlnPwmGetChannelCount() Function
DLN_RESULT DlnPwmGetChannelCount(
HDLN handle,
uint8_t port,
uint8_t* count
);
The DlnPwmGetChannelCount() function retrieves the number of PWM channels, available in the specified PWM-port of your DLN-series adapter.
Parameters:
- handle
- A handle to the DLN-series adapter.
- port
- A PWM port to retrieve the number of channels from.
- count
- A pointer to an unsigned 8-bit integer. The integer will be filled with the available number of channels in the specified PWM port of the DLN-series adapter.
Results:
| Result | Description |
|---|---|
| DLN_RES_SUCCESS | Function was succesfully executed. |
This function is defined in the dln_pwm.h file.
2006-2012