embassy-rp

Crates

git

Versions

rp2040

Flavors

Module flash

Source
Expand description

Flash driver.

Structs§

Async
Flash async mode.
BackgroundRead
Future that waits for completion of a background read
Blocking
Flash blocking mode.
Flash
Flash driver.

Enums§

Error
Error type for NVMC operations.

Constants§

ASYNC_READ_SIZE
Flash DMA read size.
ERASE_SIZE
Flash erase size.
FLASH_BASE
Flash base address.
PAGE_SIZE
Flash page size.
READ_SIZE
Flash read size.
USE_BOOT2
If running from RAM, we might have no boot2. Use bootrom flash_enter_cmd_xip instead.
WRITE_SIZE
Flash write size.

Traits§

Instance
Flash instance.
Mode
Flash mode.