forked from lvgl-micropython/lvgl_micropython
-
Notifications
You must be signed in to change notification settings - Fork 0
/
io_expander_framework.pyi
55 lines (40 loc) · 1.08 KB
/
io_expander_framework.pyi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
from typing import Union, Optional, ClassVar
EXIO1: int = ...
EXIO2: int = ...
EXIO3: int = ...
EXIO4: int = ...
EXIO5: int = ...
EXIO6: int = ...
EXIO7: int = ...
EXIO8: int = ...
class Pin(object):
IN: ClassVar[int] = ...
OUT: ClassVar[int] = ...
_id: int = ...
_mode: int = ...
_buf: bytearray = ...
_mv: memoryview = ...
def __init__(self, id: int, mode: int = -1, value: Optional[int] = None):
...
def init(self, mode: int = -1, value: Optional[int] = None):
...
def value(self, x: Optional[int] = None) -> Optional[int]:
...
def __call__(self, x: Optional[int] = None) -> Optional[int]:
...
def on(self) -> None:
...
def off(self) -> None:
...
def low(self) -> None:
...
def high(self) -> None:
...
def mode(self, mode: Optional[int] = None) -> Optional[int]:
...
def _set_dir(self, direction: int):
...
def _set_level(self, level: Union[int, float]):
...
def _get_level(self) -> Optional[Union[int, float]]:
...