2.3 Results

Below are illustrated some logic analyzer captures to show how the four PWM signals look and how the scaling of the duty cycles is created using the amplitude and offset.

Figure 2-11. The Range of the Duty Cycles is 0-100% of the PERIOD
Figure 2-12. The Range of the Duty Cycles is Scaled to 0-50% of the PERIOD
Figure 2-13. The Range of the Duty Cycles is Scaled to 0-150% of the PERIOD

A bare metal code example for AVR16EB32 with the same functionality as the one described in this section can be found here:

An MCC-generated code example for AVR16EB32 with the same functionality as the one described in this section can be found here: