winrt-Windows.Devices.Adc 2.2.0__cp313-cp313-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- winrt/_winrt_windows_devices_adc.cp313-win_amd64.pyd +0 -0
- winrt/_winrt_windows_devices_adc.pyi +55 -0
- winrt/windows/devices/adc/__init__.py +19 -0
- winrt/windows/devices/adc/py.typed +0 -0
- winrt_Windows.Devices.Adc-2.2.0.dist-info/METADATA +27 -0
- winrt_Windows.Devices.Adc-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.Devices.Adc-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.Devices.Adc-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.devices.adc.provider as windows_devices_adc_provider
|
|
13
|
+
import winrt.windows.foundation as windows_foundation
|
|
14
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
15
|
+
|
|
16
|
+
from winrt.windows.devices.adc import AdcChannelMode
|
|
17
|
+
|
|
18
|
+
Self = typing.TypeVar('Self')
|
|
19
|
+
|
|
20
|
+
@typing.final
|
|
21
|
+
class AdcChannel(winrt.system.Object):
|
|
22
|
+
def __enter__(self: Self) -> Self: ...
|
|
23
|
+
def __exit__(self, *args) -> None: ...
|
|
24
|
+
@staticmethod
|
|
25
|
+
def _from(obj: winrt.system.Object, /) -> AdcChannel: ...
|
|
26
|
+
def close(self) -> None: ...
|
|
27
|
+
def read_ratio(self) -> winrt.system.Double: ...
|
|
28
|
+
def read_value(self) -> winrt.system.Int32: ...
|
|
29
|
+
@_property
|
|
30
|
+
def controller(self) -> typing.Optional[AdcController]: ...
|
|
31
|
+
|
|
32
|
+
@typing.final
|
|
33
|
+
class AdcController_Static(type):
|
|
34
|
+
def get_controllers_async(cls, provider: typing.Optional[windows_devices_adc_provider.IAdcProvider], /) -> windows_foundation.IAsyncOperation[windows_foundation_collections.IVectorView[AdcController]]: ...
|
|
35
|
+
def get_default_async(cls) -> windows_foundation.IAsyncOperation[AdcController]: ...
|
|
36
|
+
|
|
37
|
+
@typing.final
|
|
38
|
+
class AdcController(winrt.system.Object, metaclass=AdcController_Static):
|
|
39
|
+
@staticmethod
|
|
40
|
+
def _from(obj: winrt.system.Object, /) -> AdcController: ...
|
|
41
|
+
def is_channel_mode_supported(self, channel_mode: AdcChannelMode, /) -> bool: ...
|
|
42
|
+
def open_channel(self, channel_number: winrt.system.Int32, /) -> typing.Optional[AdcChannel]: ...
|
|
43
|
+
@_property
|
|
44
|
+
def channel_mode(self) -> AdcChannelMode: ...
|
|
45
|
+
@channel_mode.setter
|
|
46
|
+
def channel_mode(self, value: AdcChannelMode) -> None: ...
|
|
47
|
+
@_property
|
|
48
|
+
def channel_count(self) -> winrt.system.Int32: ...
|
|
49
|
+
@_property
|
|
50
|
+
def max_value(self) -> winrt.system.Int32: ...
|
|
51
|
+
@_property
|
|
52
|
+
def min_value(self) -> winrt.system.Int32: ...
|
|
53
|
+
@_property
|
|
54
|
+
def resolution_in_bits(self) -> winrt.system.Int32: ...
|
|
55
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_devices_adc
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"AdcChannelMode",
|
|
10
|
+
"AdcChannel",
|
|
11
|
+
"AdcController",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
class AdcChannelMode(enum.IntEnum):
|
|
15
|
+
SINGLE_ENDED = 0
|
|
16
|
+
DIFFERENTIAL = 1
|
|
17
|
+
|
|
18
|
+
AdcChannel = _winrt_windows_devices_adc.AdcChannel
|
|
19
|
+
AdcController = _winrt_windows_devices_adc.AdcController
|
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.Devices.Adc
|
|
3
|
+
Version: 2.2.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime ==2.2.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Devices.Adc.Provider[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
|
|
21
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
22
|
+
|
|
23
|
+
# winrt-Windows.Devices.Adc
|
|
24
|
+
|
|
25
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Devices.Adc` namespace.
|
|
26
|
+
|
|
27
|
+
This package provides the `winrt.windows.devices.adc` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_devices_adc.cp313-win_amd64.pyd,sha256=Oj2teQmo4Je41pSzO4pGynp9Qb9ofYNPeSWX_vz-6ts,83456
|
|
2
|
+
winrt/_winrt_windows_devices_adc.pyi,sha256=u3bl2v0ePgsUS5ARN682vVKgfJK5GIlCoyAlTE9BKt0,2107
|
|
3
|
+
winrt/windows/devices/adc/__init__.py,sha256=4kEC87_3Oi8Zlyk8e1TP6IAItsa3_4USMy8IEsSfb6U,423
|
|
4
|
+
winrt/windows/devices/adc/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.Devices.Adc-2.2.0.dist-info/METADATA,sha256=CzZByGUP97J6GNqM36lJ-UennzoVe5-RSKSVL8fosfE,1191
|
|
6
|
+
winrt_Windows.Devices.Adc-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
|
|
7
|
+
winrt_Windows.Devices.Adc-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.Devices.Adc-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|