PWM Driver

This Pulse Width Modulation (PWM) driver provides an interface for generating PWM waveforms.

The following driver variant is available:

  • PWM Asynchronous Driver: The driver supports a callback handler for the IRQ caused by hardware state changes. Functionality is asynchronous to the main clock of the MCU.

PWM Basics and Best Practice

The Pulse-width modulation (PWM) is used to create an analog behavior digitally by controlling the amount of power transferred to the connected peripheral. This is achieved by controlling the high period (duty-cycle) of a periodic signal.

The PWM can be used in motor control, ballast, LED, H-bridge, power converters, and other types of power control applications.