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