mcu hid: optional power detecting on the hid device

This commit is contained in:
Maxim Devaev
2023-08-06 03:36:54 +03:00
parent 472605734e
commit 92c3620a86
4 changed files with 61 additions and 21 deletions

View File

@@ -162,6 +162,9 @@ class _SpiPhy(BasePhy): # pylint: disable=too-many-instance-attributes
else:
yield None
def __str__(self) -> str:
return f"SPI(bus={self.__bus}, chip={self.__chip})"
# =====
class Plugin(BaseMcuHid):