Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
This topic lists the IOCTLs for Pulse Width Modulation.
In this section
Topic | Description |
---|---|
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_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_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_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. |
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. |