pwmutil.h header

This header provides Pulse Width Modulator (PWM) helper routines for use by kernel-mode drivers. Drivers should use the function to parse and validate pin paths and extract the pin number.

To provide access to a Pulse width modulation (PWM) controller that is part of the SoC and memory-mapped to the SoC address space, you need to write a kernel-mode driver. For more information, see [PWM driver for an on-SoC PWM module](/windows-hardware/drivers/spb/pulse-width-controller driver?branch=spb).

An app can send requests to the controller driver by sending [PWM IOCTLs requests](/windows-hardware/drivers/spb/pulse-width-controller driver#pwm-ioctl-requests).

pwmutil.h contains the following programming interfaces:

Functions

 
PwmParsePinPath

Parses a pin path under the Pulse Width Modulation (PWM) controller namespace to validate its format and extract the pin number.