pwm.h header

This header is used by System Services. For more information, see:

pwm.h contains the following programming interfaces:

IOCTLs

 
IOCTL_PWM_CONTROLLER_GET_ACTUAL_PERIOD

Retrieves the effective output signal period of the Pulse Width Modulation (PWM) controller as it would be measured on its output channels.
IOCTL_PWM_CONTROLLER_GET_INFO

Retrieves information about a Pulse Width Modulation (PWM) controller. This information does not change after the controller is initialized.
IOCTL_PWM_CONTROLLER_SET_DESIRED_PERIOD

Sets the output signal period of a Pulse Width Modulation (PWM) controller to a suggested value.
IOCTL_PWM_PIN_GET_ACTIVE_DUTY_CYCLE_PERCENTAGE

Retrieves the current duty cycle percentage for a pin or channel. The control code returns the percentage as a PWM_PIN_GET_ACTIVE_DUTY_CYCLE_PERCENTAGE_OUTPUT structure.
IOCTL_PWM_PIN_GET_POLARITY

Retrieves the current signal polarity of the pin or channel. The control code gets the signal polarity as a PWM_PIN_GET_POLARITY_OUTPUT structure. The signal polarity is either Active High or Active Low, as defined in the PWM_POLARITY enumeration.
IOCTL_PWM_PIN_IS_STARTED

Retrieves the state of signal generation for a pin or channel. Each pin has a state of started or stopped as a PWM_PIN_IS_STARTED_OUTPUT structure.
IOCTL_PWM_PIN_SET_ACTIVE_DUTY_CYCLE_PERCENTAGE

Set a desired duty cycle percentage value for the controller pin or channel. The control code specifies the percentage as a PWM_PIN_SET_ACTIVE_DUTY_CYCLE_PERCENTAGE_INPUT structure.
IOCTL_PWM_PIN_SET_POLARITY

Sets the signal polarity of the pin or channel. The control code sets the signal polarity based on a PWM_PIN_SET_POLARITY_INPUT structure. The signal polarity is either Active High or Active Low, as defined in the PWM_POLARITY enumeration.
IOCTL_PWM_PIN_START

Starts generation of Pulse Width Modulation (PWM) signal on a pin or channel. To check whether a pin is started, use IOCTL_PWM_PIN_IS_STARTED.
IOCTL_PWM_PIN_STOP

Stops generation of Pulse Width Modulation (PWM) signal on a pin or channel. To check whether a pin is started, use IOCTL_PWM_PIN_IS_STARTED.

Structures

 
PWM_CONTROLLER_INFO

Represents the static information that characterizes a Pulse Width Modulation (PWM) controller.
PWM_CONTROLLER_SET_DESIRED_PERIOD_INPUT

Contains an input value for a suggested signal period for the Pulse Width Modulation (PWM) controller.
PWM_CONTROLLER_SET_DESIRED_PERIOD_OUTPUT

Contains the effective output signal period of the Pulse Width Modulation (PWM) controller.
PWM_PIN_SET_POLARITY_INPUT

Contains a desired value for polarity of a pin or channel.

Enumerations

 
PWM_POLARITY

Represents the Pulse Width Modulation (PWM) signal level polarity with respect to the duty cycle.