m5stack-stubs 2.5.3__tar.gz → 2.5.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ Type stubs for the M5Stack UIFlow2 firmware ``M5`` module.
4
4
  AUTO-GENERATED by m5stubgen. Do not edit by hand.
5
5
  * structure & constant values: device introspection snapshot
6
6
  * parameter & return signatures: M5Unified C bindings (mpy_m5*.cpp)
7
- Firmware: uiflow-micropython 2.5.3 @ 50e4407804
7
+ Firmware: uiflow-micropython 2.5.5 @ a61a29409f
8
8
  """
9
9
  from typing import Any
10
10
 
@@ -249,7 +249,7 @@ class _Power:
249
249
  def getKeyState(self) -> int: ...
250
250
  def getPortCurrent(self, port: int) -> float: ...
251
251
  def getPortVbus(self, port: int) -> float: ...
252
- def getType(self) -> bool: ...
252
+ def getType(self) -> int: ...
253
253
  def getUsbOutput(self) -> bool: ...
254
254
  def getVBUSVoltage(self) -> int: ...
255
255
  def isCharging(self) -> bool: ...
@@ -260,6 +260,7 @@ class _Power:
260
260
  def setChargeVoltage(self, max_mv: int) -> None: ...
261
261
  def setExtOutput(self, enable: bool, port_mask: int = ...) -> None: ...
262
262
  def setExtPortBusConfig(self, direction: int, output_enable: int = ..., voltage: int = ..., current_limit: int = ...) -> None: ...
263
+ def setIRPower(self, enable: bool) -> None: ...
263
264
  def setLed(self, br: int) -> None: ...
264
265
  def setUsbOutput(self, enable: int) -> None: ...
265
266
  def setVibration(self, level: int) -> None: ...
@@ -313,7 +314,9 @@ class BOARD:
313
314
  M5Capsule: int = 139
314
315
  M5Cardputer: int = 14
315
316
  M5CardputerADV: int = 24
317
+ M5ChainCaptain: int = 32
316
318
  M5CoreMatrix: int = 152
319
+ M5CoreP4X: int = 31
317
320
  M5Dial: int = 12
318
321
  M5DinMeter: int = 13
319
322
  M5DualKey: int = 147
@@ -322,6 +325,7 @@ class BOARD:
322
325
  M5NanoC6: int = 140
323
326
  M5Paper: int = 7
324
327
  M5PaperColor: int = 28
328
+ M5PaperDIY: int = 34
325
329
  M5PaperMono: int = 29
326
330
  M5PaperS3: int = 19
327
331
  M5PowerHub: int = 146
@@ -336,6 +340,7 @@ class BOARD:
336
340
  M5StampC5: int = 153
337
341
  M5StampC6: int = 154
338
342
  M5StampP4: int = 150
343
+ M5StampP4X: int = 156
339
344
  M5StampPico: int = 133
340
345
  M5StampS3: int = 136
341
346
  M5StampS3Bat: int = 149
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: m5stack-stubs
3
- Version: 2.5.3
3
+ Version: 2.5.5
4
4
  Summary: Type stubs (.pyi) for the M5Stack UIFlow2 MicroPython firmware — M5 module
5
5
  Project-URL: Homepage, https://github.com/N0I0C0K/m5stack-stubs
6
6
  Author: N0I0C0K
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "m5stack-stubs"
3
- version = "2.5.3" # set by the release workflow
3
+ version = "2.5.5" # set by the release workflow
4
4
  description = "Type stubs (.pyi) for the M5Stack UIFlow2 MicroPython firmware — M5 module"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.9"
File without changes
File without changes