Skip to content

File SolidSyslogNorFlashCategories.h

FileList > Core > Interface > SolidSyslogNorFlashCategories.h

Portable category constants (uint16_t macros) for the NorFlash role: SOLIDSYSLOG_CAT_NOR_FLASH_IO_FAILED.

  • #include <stdint.h>
  • #include "SolidSyslogErrorCategory.h"

Macro Definition Documentation

SOLIDSYSLOG_CAT_NOR_FLASH_IO_FAILED

Portable NorFlash-role error categories.

#define SOLIDSYSLOG_CAT_NOR_FLASH_IO_FAILED `((uint16_t) ( SOLIDSYSLOG_CAT_NOR_FLASH_BASE + 1U))`

Any NorFlash implementation reuses these, and so does the block device that sits on one; a portable handler switch on event->Category reacts to a failing flash identically whichever part is beneath the store. A flash operation failed, or the flash did not hold what was programmed into it. event->Source says which class found it and event->Detail what it found.



The documentation for this class was generated from the following file Core/Interface/SolidSyslogNorFlashCategories.h