WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-III
11.1. PWM
In case a GPIO shall run as PWM, the parameters "ratio" and "period" define its behavior. The
parameter "period" defines the period of the PWM signal. The parameter "ratio" defines the
ratio between on- and off-time. As an example, a ratio of 0x40 corresponds to 25% on-time
and 75% off-time.
Voltage
Ratio
0x40 =
25%
0x80 =
50%
0xFE =
100%
Period
Time
Figure 20: PWM behaviour
Order code 2611011024000
186
Version 1.8 , July 2022
www.we-online.com/wcs