# WARNING: Please don't edit this file. It was generated by Python/WinRT v1.0.0-beta.7

import datetime
import sys
import types
import typing

import winsdk._winrt as _winrt
import winsdk.windows.foundation.collections

Self = typing.TypeVar('Self')

class IPwmControllerProvider(_winrt.Object):
    actual_frequency: _winrt.Double
    max_frequency: _winrt.Double
    min_frequency: _winrt.Double
    pin_count: _winrt.Int32
    @staticmethod
    def _from(obj: _winrt.Object) -> IPwmControllerProvider: ...
    def acquire_pin(self, pin: _winrt.Int32) -> None: ...
    def disable_pin(self, pin: _winrt.Int32) -> None: ...
    def enable_pin(self, pin: _winrt.Int32) -> None: ...
    def release_pin(self, pin: _winrt.Int32) -> None: ...
    def set_desired_frequency(self, frequency: _winrt.Double) -> _winrt.Double: ...
    def set_pulse_parameters(self, pin: _winrt.Int32, duty_cycle: _winrt.Double, invert_polarity: _winrt.Boolean) -> None: ...

class IPwmProvider(_winrt.Object):
    @staticmethod
    def _from(obj: _winrt.Object) -> IPwmProvider: ...
    def get_controllers(self) -> typing.Optional[winsdk.windows.foundation.collections.IVectorView[IPwmControllerProvider]]: ...

