pikapython/port/linux/package/pikascript/TemplateDevice.pyi

72 lines
1.7 KiB
Python
Raw Normal View History

2022-05-24 13:55:39 +08:00
import PikaStdDevice
class GPIO(PikaStdDevice.GPIO):
# overrid
def platformGetEventId(self): ...
2022-11-02 12:25:02 +08:00
def eventTest(self): ...
2022-05-24 13:55:39 +08:00
class ADC(PikaStdDevice.ADC):
# override
def platformEnable(self): ...
def platformRead(self): ...
def platformDisable(self): ...
def platformGetEventId(self): ...
2022-05-24 13:55:39 +08:00
class UART(PikaStdDevice.UART):
# override
def platformEnable(self): ...
def platformWrite(self): ...
def platformWriteBytes(self): ...
def platformRead(self): ...
def platformReadBytes(self): ...
def platformDisable(self): ...
def platformGetEventId(self): ...
2022-05-24 13:55:39 +08:00
class IIC(PikaStdDevice.IIC):
# override
def platformEnable(self): ...
def platformWrite(self): ...
def platformWriteBytes(self): ...
def platformRead(self): ...
def platformReadBytes(self): ...
def platformDisable(self): ...
def platformGetEventId(self): ...
2022-05-24 13:55:39 +08:00
class PWM(PikaStdDevice.PWM):
# override
def platformEnable(self): ...
def platformSetFrequency(self): ...
def platformSetDuty(self): ...
def platformDisable(self): ...
def platformGetEventId(self): ...
2022-05-24 13:55:39 +08:00
class SPI(PikaStdDevice.SPI):
# override
def platformEnable(self): ...
def platformWrite(self): ...
def platformWriteBytes(self): ...
def platformRead(self): ...
def platformReadBytes(self): ...
def platformDisable(self): ...
def platformGetEventId(self): ...
2022-05-24 13:55:39 +08:00
class CAN(PikaStdDevice.CAN):
# override
def platformEnable(self): ...
def platformWrite(self): ...
def platformWriteBytes(self): ...
def platformRead(self): ...
def platformReadBytes(self): ...
def platformDisable(self): ...
def platformGetEventId(self): ...
2022-06-17 15:03:12 +08:00
def __del__(self): ...