typedef struct tagPT_CounterPWMSetting
{
INT16U Port;
FP32 Period;
FP32 HiPeriod;
INT32U OutCount;
INT16U GateMode;
} PT_CounterPWMSetting, * LPT_CounterPWMSetting;
PT_CounterPWMSetting is used in function DRV_CounterPWMSetting.
| Name | Direction | Description |
| Port | input | The number of the channel enabled for PWM. From a minimum of zero for the first channel to the maximum channel number minus one. For example, the range is from 0 to (N-1) on a device with N counter channels. |
| Period | input | The counter's duty period. |
| HiPeriod | input | The high period of PWM. |
| OutCount | input | The count of output pulses. If it is set to 0, once the waveform is produced, the output will begin and will not stop until the DRV_CounterReset is called. |
| GateMode | reserved | The gate mode. |