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

import enum
import datetime
import sys
import types
import typing

import winsdk.system
import winsdk.windows.foundation.collections

class ProviderAdcChannelMode(enum.IntEnum):
    SINGLE_ENDED = 0
    DIFFERENTIAL = 1

Self = typing.TypeVar('Self')

class IAdcControllerProvider(winsdk.system.Object):
    channel_count: winsdk.system.Int32
    channel_mode: ProviderAdcChannelMode
    max_value: winsdk.system.Int32
    min_value: winsdk.system.Int32
    resolution_in_bits: winsdk.system.Int32
    @staticmethod
    def _from(obj: winsdk.system.Object, /) -> IAdcControllerProvider: ...
    def acquire_channel(self, channel: winsdk.system.Int32, /) -> None: ...
    def is_channel_mode_supported(self, channel_mode: ProviderAdcChannelMode, /) -> winsdk.system.Boolean: ...
    def read_value(self, channel_number: winsdk.system.Int32, /) -> winsdk.system.Int32: ...
    def release_channel(self, channel: winsdk.system.Int32, /) -> None: ...

class IAdcProvider(winsdk.system.Object):
    @staticmethod
    def _from(obj: winsdk.system.Object, /) -> IAdcProvider: ...
    def get_controllers(self) -> typing.Optional[winsdk.windows.foundation.collections.IVectorView[IAdcControllerProvider]]: ...

