I-8088W API Reference Manual, Version 1.0.0, Aug. 2010 --- 23
2.4.2. How to Setup the Synchronous PWM
I-8088W can configure each PWM output channel as synchronous mode.
Step 1: Follow the same way in
and set PWM duty and frequency.
Step 2: Enter “2” to set “Synchronous PWM”, and then enter “1” to enable it.
Note
: You can use i8088W_SetSyncChannel (
or
pac_ i8088W_SetSyncChannel (
) function to set the specific
channel as
synchronous mode.
When you enable PWM output channels as synchronous mode, it will call
i8088W_Sync_Start (
) function to start synchronous PWM output and synchronize the rising
edge for each synchronous PWM pulse.