hexo/flash.h header reference
[Hardware abstraction layer module]

The source code of this header can be browsed online.

Description [link] 

This low level API provides a way to erase and write pages in platform specific memory mapped flash memory.

This simple API is not asynchronous and is not designed to access any flash devices. This might not be available on platforms other than microcontrollers.

The Description class is the right way to access any flash device in a portable way.

Members [link] 

Functions [link] 

Members detail [link] 

#define HEXO_FLASH_H_ [link] 

This macro is declared in hexo/flash.h source file, line 39.

reg_t flash_page_erase(uintptr_t addr) [link] 

This function is declared in hexo/flash.h source file, line 51.

This function erases a page in the platform memory mapped flash memory. The page size is platform specific.

The function returns 0 on success.

reg_t flash_page_write(uintptr_t addr, const uint8_t *data, size_t size) [link] 

This function is declared in hexo/flash.h source file, line 59.

This function writes a page in the platform memory mapped flash memory.

The function returns 0 on success. It should not fail when requested to flip bits from 0 to 1.

Valid XHTML 1.0 StrictGenerated by diaxen on Thu Aug 4 15:44:06 2022 using MkDoc