PWM is Pulse Width Modulation.
It's a function that controls average power by varying the ratio of the
pulse ON time to OFF time.

There are three(3) items to configure PWM function against the specification
of pulse input for the connected device.
(1) Period of the output waveform (2) Duty (3) Phase of the output waveform.
Here is the list of API function for each items.
Please refer each reference document of them.
And also, you can refer the sample programs which are PWM Output sample[GUI] as well as PWM Output sample[CUI].
| Items | API function | Description |
(1)Period of the output waveform |
Indicate the duration of one(1) cycle. |
|
(2)Duty |
Indicate ratio of the ON status per the cycle. |
|
(3)Phase of the output waveform |
Indicate phase between each channels. |