m5stack-stubs 2.5.4__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.4 @ e437118892
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,6 +314,7 @@ 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
317
319
  M5CoreP4X: int = 31
318
320
  M5Dial: int = 12
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: m5stack-stubs
3
- Version: 2.5.4
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.4" # 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