Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 1.3 KB

SPIFBlockDevice.md

File metadata and controls

23 lines (12 loc) · 1.3 KB

SPI Flash block device

SPIFBlockDevice class hierarchy

This API is a block device for NOR-based SPI flash devices that support SFDP.

Note: Multiple protocols exist for SPI flash devices. This driver is for the SFDP SPI flash protocol. If your device uses the DataFlash protocol, you need the DataflashBlockDevice

NOR-based SPI flash supports byte-sized read and writes, with an erase size of around 4 kbytes. An erase sets a block to all 1s, with successive writes clearing set bits.

To configure this class, please see our BlockDevice configuration documentation.

SPIFBlockDevice class reference

View code

SPIFBlockDevice example

View code

Related content