typedef struct {
DFLOAT output_freq;
FLOAT duty_cycle;
BYTE polarity;
BYTE pwm_circuit;
BOOL output_enab;
} DSCCR;
| Name | Description |
|---|---|
| output_freq | Output frequency of the PWM signal (i.e. frequency of subsequent duty cycles.) |
| duty_cycle | Percentage of time that the signal will be in the active state. Valid duty cycles range from 0.0 to 100.0. |
| polarity | Determines the active state of the PWM signal (for boards that support this.) 0 = high, 1 = low |
| pwm_circuit | Which PWM circuit this function should configure. Depending on the board this will represent either physical or logical counters. |
| output_enab | Enable signal output. 1 = enable, 0 = disable |
This page was last modified 01:06, 30 Jan 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.