The PWM function provides for variable duty cycle outputs.The cycle time and the pulse width can be specified in a time base of either microseconds or milliseconds.The cycle time has a range either from 50 microseconds to 65,535 microseconds,or from 2 milliseconds to 65535 milliseconds.The pulse width time has a range either from 0 microsecond to 65,535 microseconds,or from 0 millisecond to 65,535 milliseconds.when the pulse width is specified to have a value greater or equal to the cycle time value,the duty cycle of the waveform is 100% and the output is turned on continuously.when the pulse width is specified as 0, the duty cycle of the waveform is 0% and the output is turned off.If a cycle time of less than two time units is specified,the cycle time defaults to two time units.
There are two different ways to change the characteristics of a PWM waveform:
with a synchronous update and with an asynchronous update.
There are two different ways to change the characteristics of a PWM waveform:
with a synchronous update and with an asynchronous update.
No comments:
Post a Comment