90 lines
1.3 KiB
Python
Raw Normal View History

2022-03-26 20:46:22 +08:00
import PikaStdDevice
import PikaStdTask
class GPIO(PikaStdDevice.GPIO):
# override
2022-08-22 16:24:57 +08:00
def platformHigh(self):
2022-03-26 20:46:22 +08:00
pass
# override
2022-08-22 16:24:57 +08:00
def platformLow(self):
2022-03-26 20:46:22 +08:00
pass
# override
2022-08-22 16:24:57 +08:00
def platformEnable(self):
2022-03-26 20:46:22 +08:00
pass
# override
2022-08-22 16:24:57 +08:00
def platformDisable(self):
2022-03-26 20:46:22 +08:00
pass
# override
2022-08-22 16:24:57 +08:00
def platformSetMode(self):
2022-03-26 20:46:22 +08:00
pass
# override
2022-08-22 16:24:57 +08:00
def platformRead(self):
2022-03-26 20:46:22 +08:00
pass
class Time(PikaStdDevice.Time):
# override
2022-08-22 16:24:57 +08:00
def sleep_s(self, s: int):
2022-03-26 20:46:22 +08:00
pass
# override
2022-08-22 16:24:57 +08:00
def sleep_ms(self, ms: int):
2022-03-26 20:46:22 +08:00
pass
class ADC(PikaStdDevice.ADC):
# override
2022-08-22 16:24:57 +08:00
def platformEnable(self):
2022-03-26 20:46:22 +08:00
pass
# override
2022-08-22 16:24:57 +08:00
def platformRead(self):
2022-03-26 20:46:22 +08:00
pass
# override
2022-08-22 16:24:57 +08:00
def platformDisable(self):
2022-03-26 20:46:22 +08:00
pass
class UART(PikaStdDevice.UART):
# override
2022-08-22 16:24:57 +08:00
def platformEnable(self):
2022-03-26 20:46:22 +08:00
pass
# override
2022-08-22 16:24:57 +08:00
def platformWrite(self):
2022-03-26 20:46:22 +08:00
pass
# override
2022-08-22 16:24:57 +08:00
def platformRead(self):
2022-03-26 20:46:22 +08:00
pass
# override
2022-08-22 16:24:57 +08:00
def platformDisable(self):
2022-03-26 20:46:22 +08:00
pass
class IIC(PikaStdDevice.IIC):
# override
2022-08-22 16:24:57 +08:00
def platformEnable(self):
2022-03-26 20:46:22 +08:00
pass
# override
2022-08-22 16:24:57 +08:00
def platformDisable(self):
2022-03-26 20:46:22 +08:00
pass
# override
2022-08-22 16:24:57 +08:00
def platformWrite(self):
2022-03-26 20:46:22 +08:00
pass
# override
2022-08-22 16:24:57 +08:00
def platformRead(self):
2022-03-26 20:46:22 +08:00
pass