summaryrefslogtreecommitdiff
path: root/include/py/pyA20/gpio/gpio.pyi
blob: 225fcbe7ce5f2d67a91531a07415adbee949e1b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
HIGH = 1
LOW = 0
INPUT = 0
OUTPUT = 0
PULLUP = 0
PULLDOWN = 0

def init():
    pass

def setcfg(gpio: int, cfg: int):
    pass

def getcfg(gpio: int):
    pass

def output(gpio: int, value: int):
    pass

def pullup(gpio: int, pull: int):
    pass

def input(gpio: int):
    pass