pikapython/port/linux/package/pikascript/TemplateDevice.pyi
2023-01-09 20:35:22 +08:00

72 lines
1.7 KiB
Python

import PikaStdDevice
class GPIO(PikaStdDevice.GPIO):
# overrid
def platformGetEventId(self): ...
def eventTest(self): ...
class ADC(PikaStdDevice.ADC):
# override
def platformEnable(self): ...
def platformRead(self): ...
def platformDisable(self): ...
def platformGetEventId(self): ...
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): ...
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): ...
class PWM(PikaStdDevice.PWM):
# override
def platformEnable(self): ...
def platformSetFrequency(self): ...
def platformSetDuty(self): ...
def platformDisable(self): ...
def platformGetEventId(self): ...
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): ...
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): ...
def __del__(self): ...