pyb.Flash ========= .. This document was autogenerated by Sphinx-autoapi from a .pyi stub or a source code file. .. Do not edit this file, instead edit the source file and run Sphinx to update. .. Source: docs/stubs/pyb/Flash.pyi .. py:module:: pyb.Flash Classes ------- .. autoapisummary:: pyb.Flash.Flash Module Contents --------------- .. py:class:: Flash Create and return a block device that represents the flash device presented to the USB mass storage interface. It includes a virtual partition table at the start, and the actual flash starts at block ``0x100``. This constructor is deprecated and will be removed in a future version of MicroPython. .. py:method:: ioctl(cmd, arg) -> _typeshed.Incomplete These methods implement the simple and :ref:`extended ` block protocol defined by :class:`vfs.AbstractBlockDev`. .. py:method:: readblocks(block_num, buf, offset: Optional[int] = 0) -> _typeshed.Incomplete .. py:method:: writeblocks(block_num, buf, offset: Optional[int] = 0) -> _typeshed.Incomplete