This is the documentation for the latest development branch of MicroPython and may refer to features that are not available in released versions.

If you are looking for the documentation for a specific release, use the drop-down menu on the left and select the desired version.

zephyr.DiskAccess

Classes

DiskAccess

Gets an object for accessing disk memory of the specific disk.

Module Contents

class zephyr.DiskAccess.DiskAccess(disk_name)

Gets an object for accessing disk memory of the specific disk. For accessing an SD card on the mimxrt1050_evk, disk_name would be SDHC. See board documentation and devicetree for usable disk names for your board (ex. RT boards use style USDHC#).

ioctl(cmd, arg) Incomplete

These methods implement the simple and extended block protocol defined by vfs.AbstractBlockDev.

readblocks(block_num, buf, offset: int | None = 0) Incomplete
writeblocks(block_num, buf, offset: int | None = 0) Incomplete