PWM Commands And Responses
The following commands and responses are used to control and monitor the PWM module of a DLN-series adapter.
| Command/Response | Description |
|---|---|
| DLN_PWM_GET_PORT_COUNT | Command is used to retrieve the number of PWM ports available in your DLN-series adapter. |
| DLN_PWM_GET_CHANNEL_COUNT | Command is used to retrieve the number of PWM channels, available in the specified PWM-port of your DLN-series adapter. |
| DLN_PWM_ENABLE | Command is used to activate the corresponding PWM port of your DLN-series adapter. |
| DLN_PWM_DISABLE | Command is used to deactivate the specified PWM port of your DLN-series adapter. |
| DLN_PWM_IS_ENABLED | Command is used to retrieve information, whether the specified PWM port is activated. |
| DLN_PWM_CHANNEL_ENABLE | Command is used to activate the specified channel from the corresponding PWM port of your DLN-series adapter. |
| DLN_PWM_CHANNEL_DISABLE | Command is used to deactivate the specified PWM channel of your DLN-series adapter. |
| DLN_PWM_CHANNEL_IS_ENABLED | Command is used to retrieve information, whether the specified PWM channel is activated. |
| DLN_PWM_SET_FREQUENCY | Command is used to set the PWM frequency. |
| DLN_PWM_GET_FREQUENCY | Command is used to retrieve current PWM clock frequency. |
| DLN_PWM_SET_DUTY_CYCLE | Command is used to set a PWM duty cycle, which is the ratio of the high time to the PWM period. |
| DLN_PWM_GET_DUTY_CYCLE | Command is used to retrieve the currently set PWM duty cycle from the DLN-series adapter. |
2006-2012