summaryrefslogtreecommitdiff
path: root/docs/library/pyb.Flash.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library/pyb.Flash.rst')
-rw-r--r--docs/library/pyb.Flash.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/library/pyb.Flash.rst b/docs/library/pyb.Flash.rst
index 2d2f83da1..13f209787 100644
--- a/docs/library/pyb.Flash.rst
+++ b/docs/library/pyb.Flash.rst
@@ -26,6 +26,7 @@ Constructors
This constructor is deprecated and will be removed in a future version of MicroPython.
.. class:: pyb.Flash(\*, start=-1, len=-1)
+ :noindex:
Create and return a block device that accesses the flash at the specified offset. The length defaults to the remaining size of the device.
@@ -35,9 +36,9 @@ Methods
-------
.. method:: Flash.readblocks(block_num, buf)
-.. method:: Flash.readblocks(block_num, buf, offset)
+ Flash.readblocks(block_num, buf, offset)
.. method:: Flash.writeblocks(block_num, buf)
-.. method:: Flash.writeblocks(block_num, buf, offset)
+ Flash.writeblocks(block_num, buf, offset)
.. method:: Flash.ioctl(cmd, arg)
These methods implement the simple and :ref:`extended