ChibiOS/HAL
6.1.0
|
JESD216 compliant flash driver class header. More...
#include "hal_flash.h"
Go to the source code of this file.
Data Structures | |
struct | JESD215FlashVMT |
JESD215Flash virtual methods table. More... | |
struct | JESD215Flash |
Base flash class. More... | |
Macros | |
#define | _jesd216_flash_methods_alone |
JESD215Flash specific methods. More... | |
#define | _jesd216_flash_methods |
JESD215Flash specific methods with inherited ones. More... | |
#define | _jesd216_flash_data _base_flash_data |
JESD215Flash specific data. More... | |
Common command codes | |
#define | JESD216_CMD_READ_ID 0x9FU |
#define | JESD216_CMD_READ 0x03U |
#define | JESD216_CMD_WRITE_ENABLE 0x06U |
#define | JESD216_CMD_WRITE_DISABLE 0x04U |
#define | JESD216_CMD_READ_STATUS_REGISTER 0x05U |
#define | JESD216_CMD_WRITE_STATUS_REGISTER 0x01U |
#define | JESD216_CMD_PAGE_PROGRAM 0x02U |
#define | JESD216_CMD_ERASE_4K 0x20U |
#define | JESD216_CMD_ERASE_BULK 0xC7U |
#define | JESD216_CMD_PROGRAM_ERASE_RESUME 0x7AU |
#define | JESD216_CMD_PROGRAM_ERASE_SUSPEND 0x75U |
#define | JESD216_CMD_READ_OTP_ARRAY 0x4BU |
#define | JESD216_CMD_PROGRAM_OTP_ARRAY 0x42U |
Command options | |
#define | JESD216_CMD_EXTENDED_ADDRESSING 0x80000000U |
Bus interface. | |
#define | JESD216_BUS_MODE_SPI 0U |
#define | JESD216_BUS_MODE_QSPI1L 1U |
#define | JESD216_BUS_MODE_QSPI2L 2U |
#define | JESD216_BUS_MODE_QSPI4L 4U |
Configuration options | |
#define | JESD216_BUS_MODE JESD216_BUS_MODE_QSPI4L |
Physical transport interface. More... | |
#define | JESD216_SHARED_BUS TRUE |
Shared bus switch. More... | |
JESD216 compliant flash driver class header.
Definition in file hal_jesd216_flash.h.