![]() |
RTEMS 6.1
|
Data Structures | |
| struct | _flexspi_lut_seq |
| FLEXSPI LUT Sequence structure. More... | |
| struct | flexspi_dll_time_t |
| FLEXSPI DLL time. More... | |
| struct | _flexspi_mem_config |
| FLEXSPI Memory Configuration Block. More... | |
| struct | _flexspi_nor_config |
| Serial NOR configuration block. More... | |
| struct | _flexspi_xfer |
| FLEXSPI Transfer Context. More... | |
| struct | _serial_nor_config_option |
| Serial NOR Configuration Option. More... | |
Macros | |
| #define | FSL_ROM_ROMAPI_VERSION (MAKE_VERSION(1U, 1U, 1U)) |
| ROMAPI version 1.1.1. | |
| #define | FSL_ROM_FLEXSPINOR_DRIVER_VERSION (MAKE_VERSION(1U, 4U, 0U)) |
| ROM FLEXSPI NOR driver version 1.4.0. | |
| #define | FSL_ROM_ROMAPI_VERSION (MAKE_VERSION(1U, 1U, 1U)) |
| ROM API version 1.1.1. | |
| #define | FSL_ROM_FLEXSPINOR_DRIVER_VERSION (MAKE_VERSION(1U, 7U, 0U)) |
| ROM FLEXSPI NOR driver version 1.7.0. | |
Support for init FLEXSPI NOR configuration | |
| enum | { kSerialFlash_1Pad = 1U , kSerialFlash_2Pads = 2U , kSerialFlash_4Pads = 4U , kSerialFlash_8Pads = 8U } |
| Flash Pad Definitions. | |
| enum | { kFLEXSPIClk_SDR , kFLEXSPIClk_DDR } |
| FLEXSPI clock configuration type. More... | |
| enum | _flexspi_read_sample_clk { kFLEXSPIReadSampleClk_LoopbackInternally = 0U , kFLEXSPIReadSampleClk_LoopbackFromDqsPad = 1U , kFLEXSPIReadSampleClk_LoopbackFromSckPad = 2U , kFLEXSPIReadSampleClk_ExternalInputFromDqsPad = 3U , kFLEXSPIReadSampleClk_LoopbackInternally = 0U , kFLEXSPIReadSampleClk_LoopbackFromDqsPad = 1U , kFLEXSPIReadSampleClk_LoopbackFromSckPad = 2U , kFLEXSPIReadSampleClk_ExternalInputFromDqsPad = 3U } |
| FLEXSPI Read Sample Clock Source definition. More... | |
| enum | { kFLEXSPIDeviceType_SerialNOR = 1U } |
| Flash Type Definition. More... | |
| enum | { kDeviceConfigCmdType_Generic , kDeviceConfigCmdType_QuadEnable , kDeviceConfigCmdType_Spi2Xpi , kDeviceConfigCmdType_Xpi2Spi , kDeviceConfigCmdType_Spi2NoCmd , kDeviceConfigCmdType_Reset } |
| Flash Configuration Command Type. More... | |
| enum | _flexspi_serial_clk_freq { kFLEXSPISerialClk_NoChange = 0U , kFLEXSPISerialClk_30MHz = 1U , kFLEXSPISerialClk_50MHz = 2U , kFLEXSPISerialClk_60MHz = 3U , kFLEXSPISerialClk_75MHz = 4U , kFLEXSPISerialClk_80MHz = 5U , kFLEXSPISerialClk_100MHz = 6U , kFLEXSPISerialClk_133MHz = 7U , kFLEXSPISerialClk_166MHz = 8U , kFLEXSPISerialClk_200MHz = 9U , kFLEXSPISerialClk_NoChange = 0U , kFLEXSPISerialClk_30MHz = 1U , kFLEXSPISerialClk_50MHz = 2U , kFLEXSPISerialClk_60MHz = 3U , kFLEXSPISerialClk_75MHz = 4U , kFLEXSPISerialClk_80MHz = 5U , kFLEXSPISerialClk_100MHz = 6U , kFLEXSPISerialClk_133MHz = 7U , kFLEXSPISerialClk_166MHz = 8U } |
| Defintions for FLEXSPI Serial Clock Frequency. More... | |
| enum | { kFLEXSPIMiscOffset_DiffClkEnable = 0U , kFLEXSPIMiscOffset_Ck2Enable = 1U , kFLEXSPIMiscOffset_ParallelEnable = 2U , kFLEXSPIMiscOffset_WordAddressableEnable = 3U , kFLEXSPIMiscOffset_SafeConfigFreqEnable = 4U , kFLEXSPIMiscOffset_PadSettingOverrideEnable = 5U , kFLEXSPIMiscOffset_DdrModeEnable = 6U , kFLEXSPIMiscOffset_UseValidTimeForAllFreq = 7U } |
| Misc feature bit definitions. More... | |
| enum | { kSerialNorType_StandardSPI , kSerialNorType_HyperBus , kSerialNorType_XPI , kSerialNorType_NoCmd } |
FLEXSPI NOR Configuration | |
| enum | _flexspi_operation { kFLEXSPIOperation_Command , kFLEXSPIOperation_Config , kFLEXSPIOperation_Write , kFLEXSPIOperation_Read , kFLEXSPIOperation_End = kFLEXSPIOperation_Read , kFLEXSPIOperation_Command , kFLEXSPIOperation_Config , kFLEXSPIOperation_Write , kFLEXSPIOperation_Read } |
| FLEXSPI Operation Context. More... | |
| typedef struct _flexspi_lut_seq | flexspi_lut_seq_t |
| FLEXSPI LUT Sequence structure. | |
| typedef struct _flexspi_mem_config | flexspi_mem_config_t |
| FLEXSPI Memory Configuration Block. | |
| typedef struct _flexspi_nor_config | flexspi_nor_config_t |
| Serial NOR configuration block. | |
| typedef enum _flexspi_operation | flexspi_operation_t |
| FLEXSPI Operation Context. | |
| typedef struct _flexspi_xfer | flexspi_xfer_t |
| FLEXSPI Transfer Context. | |
| #define | kFLEXSPIOperation_End kFLEXSPIOperation_Read |
| #define | MISRA_CAST(to_type, to_var, from_type, from_var) |
| convert the type for MISRA | |
Configuration Option | |
| typedef struct _serial_nor_config_option | serial_nor_config_option_t |
| Serial NOR Configuration Option. | |
Common ROMAPI fearures info defines | |
| #define | FSL_ROM_HAS_FLEXSPINOR_API (1) |
| #define | FSL_ROM_HAS_RUNBOOTLOADER_API (0) |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_GET_CONFIG (0) |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_FLASH_INIT (1) |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_ERASE (1) |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_ERASE_SECTOR (1) |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_ERASE_BLOCK (0) |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_ERASE_ALL (1) |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_PAGE_PROGRAM (1) |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_UPDATE_LUT (1) |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_CMD_XFER (1) |
| #define | kROM_StatusGroup_FLEXSPI 60U |
| #define | kROM_StatusGroup_FLEXSPINOR 200U |
| #define | FSL_ROM_FLEXSPI_LUT_SEQ(cmd0, pad0, op0, cmd1, pad1, op1) |
| #define | FSL_ROM_FLEXSPI_BITMASK(bit_offset) (1U << (bit_offset)) |
| Generate bit mask. | |
| #define | FLEXSPI_CFG_BLK_TAG (0x42464346UL) |
| FLEXSPI memory config block related defintions. | |
| #define | FLEXSPI_CFG_BLK_VERSION (0x56010400UL) |
| #define | CMD_SDR 0x01U |
| #define | CMD_DDR 0x21U |
| #define | RADDR_SDR 0x02U |
| #define | RADDR_DDR 0x22U |
| #define | CADDR_SDR 0x03U |
| #define | CADDR_DDR 0x23U |
| #define | MODE1_SDR 0x04U |
| #define | MODE1_DDR 0x24U |
| #define | MODE2_SDR 0x05U |
| #define | MODE2_DDR 0x25U |
| #define | MODE4_SDR 0x06U |
| #define | MODE4_DDR 0x26U |
| #define | MODE8_SDR 0x07U |
| #define | MODE8_DDR 0x27U |
| #define | WRITE_SDR 0x08U |
| #define | WRITE_DDR 0x28U |
| #define | READ_SDR 0x09U |
| #define | READ_DDR 0x29U |
| #define | LEARN_SDR 0x0AU |
| #define | LEARN_DDR 0x2AU |
| #define | DATSZ_SDR 0x0BU |
| #define | DATSZ_DDR 0x2BU |
| #define | DUMMY_SDR 0x0CU |
| #define | DUMMY_DDR 0x2CU |
| #define | DUMMY_RWDS_SDR 0x0DU |
| #define | DUMMY_RWDS_DDR 0x2DU |
| #define | JMP_ON_CS 0x1FU |
| #define | STOP 0U |
| #define | FLEXSPI_1PAD 0U |
| #define | FLEXSPI_2PAD 1U |
| #define | FLEXSPI_4PAD 2U |
| #define | FLEXSPI_8PAD 3U |
| #define | NOR_CMD_INDEX_READ 0U |
| #define | NOR_CMD_INDEX_READSTATUS 1U |
| #define | NOR_CMD_INDEX_WRITEENABLE 2U |
| #define | NOR_CMD_INDEX_ERASESECTOR 3U |
| #define | NOR_CMD_INDEX_PAGEPROGRAM 4U |
| #define | NOR_CMD_INDEX_CHIPERASE 5U |
| #define | NOR_CMD_INDEX_DUMMY 6U |
| #define | NOR_CMD_INDEX_ERASEBLOCK 7U |
| #define | NOR_CMD_LUT_SEQ_IDX_READ 0U |
| #define | NOR_CMD_LUT_SEQ_IDX_READSTATUS 1U |
| #define | NOR_CMD_LUT_SEQ_IDX_READSTATUS_XPI 2U |
| #define | NOR_CMD_LUT_SEQ_IDX_WRITEENABLE 3U |
| #define | NOR_CMD_LUT_SEQ_IDX_WRITEENABLE_XPI 4U |
| #define | NOR_CMD_LUT_SEQ_IDX_ERASESECTOR 5U |
| #define | NOR_CMD_LUT_SEQ_IDX_ERASEBLOCK 8U |
| #define | NOR_CMD_LUT_SEQ_IDX_PAGEPROGRAM 9U |
| #define | NOR_CMD_LUT_SEQ_IDX_CHIPERASE 11U |
| #define | NOR_CMD_LUT_SEQ_IDX_READ_SFDP 13U |
| #define | NOR_CMD_LUT_SEQ_IDX_RESTORE_NOCMD 14U |
| #define | NOR_CMD_LUT_SEQ_IDX_EXIT_NOCMD 15U |
Common ROMAPI features info defines | |
| #define | FSL_ROM_HAS_FLEXSPINOR_API (1) |
| ROM has FLEXSPI NOR API. | |
| #define | FSL_ROM_HAS_RUNBOOTLOADER_API (1) |
| ROM has run bootloader API. | |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_GET_CONFIG (1) |
| ROM has FLEXSPI NOR get config API. | |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_FLASH_INIT (1) |
| ROM has flash init API. | |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_ERASE (1) |
| ROM has erase API. | |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_ERASE_SECTOR (1) |
| ROM has erase sector API. | |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_ERASE_BLOCK (1) |
| ROM has erase block API. | |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_ERASE_ALL (1) |
| ROM has erase all API. | |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_READ (1) |
| ROM has read API. | |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_UPDATE_LUT (1) |
| ROM has update lut API. | |
| #define | FSL_ROM_FLEXSPINOR_API_HAS_FEATURE_CMD_XFER (1) |
| ROM has FLEXSPI command API. | |
| #define | kROM_StatusGroup_FLEXSPINOR 201U |
| #define | FSL_ROM_FLEXSPI_LUT_SEQ(cmd0, pad0, op0, cmd1, pad1, op1) |
| #define | FSL_ROM_FLEXSPI_BITMASK(bit_offset) (1U << (bit_offset)) |
| Generate bit mask. | |
| #define | FLEXSPI_CFG_BLK_TAG (0x42464346UL) |
| FLEXSPI memory config block related definitions. | |
| #define | FLEXSPI_CFG_BLK_VERSION (0x56010400UL) |
| #define | CMD_SDR 0x01U |
| #define | CMD_DDR 0x21U |
| #define | RADDR_SDR 0x02U |
| #define | RADDR_DDR 0x22U |
| #define | CADDR_SDR 0x03U |
| #define | CADDR_DDR 0x23U |
| #define | MODE1_SDR 0x04U |
| #define | MODE1_DDR 0x24U |
| #define | MODE2_SDR 0x05U |
| #define | MODE2_DDR 0x25U |
| #define | MODE4_SDR 0x06U |
| #define | MODE4_DDR 0x26U |
| #define | MODE8_SDR 0x07U |
| #define | MODE8_DDR 0x27U |
| #define | WRITE_SDR 0x08U |
| #define | WRITE_DDR 0x28U |
| #define | READ_SDR 0x09U |
| #define | READ_DDR 0x29U |
| #define | LEARN_SDR 0x0AU |
| #define | LEARN_DDR 0x2AU |
| #define | DATSZ_SDR 0x0BU |
| #define | DATSZ_DDR 0x2BU |
| #define | DUMMY_SDR 0x0CU |
| #define | DUMMY_DDR 0x2CU |
| #define | DUMMY_RWDS_SDR 0x0DU |
| #define | DUMMY_RWDS_DDR 0x2DU |
| #define | JMP_ON_CS 0x1FU |
| #define | STOP 0U |
| #define | FLEXSPI_1PAD 0U |
| #define | FLEXSPI_2PAD 1U |
| #define | FLEXSPI_4PAD 2U |
| #define | FLEXSPI_8PAD 3U |
| #define | NOR_CMD_LUT_SEQ_IDX_READ 0U |
| #define | NOR_CMD_LUT_SEQ_IDX_READSTATUS 1U |
| #define | NOR_CMD_LUT_SEQ_IDX_READSTATUS_XPI 2U |
| #define | NOR_CMD_LUT_SEQ_IDX_WRITEENABLE 3U |
| #define | NOR_CMD_LUT_SEQ_IDX_WRITEENABLE_XPI 4U |
| #define | NOR_CMD_LUT_SEQ_IDX_ERASESECTOR 5U |
| #define | NOR_CMD_LUT_SEQ_IDX_READID 7U |
| #define | NOR_CMD_LUT_SEQ_IDX_ERASEBLOCK 8U |
| #define | NOR_CMD_LUT_SEQ_IDX_PAGEPROGRAM 9U |
| #define | NOR_CMD_LUT_SEQ_IDX_CHIPERASE 11U |
| #define | NOR_CMD_LUT_SEQ_IDX_READ_SFDP 13U |
| #define | NOR_CMD_LUT_SEQ_IDX_RESTORE_NOCMD 14U |
| #define | NOR_CMD_LUT_SEQ_IDX_EXIT_NOCMD 15U |
| #define FLEXSPI_CFG_BLK_TAG (0x42464346UL) |
FLEXSPI memory config block related defintions.
ascii "FCFB" Big Endian
| #define FLEXSPI_CFG_BLK_TAG (0x42464346UL) |
FLEXSPI memory config block related definitions.
ascii "FCFB" Big Endian
| #define FLEXSPI_CFG_BLK_VERSION (0x56010400UL) |
V1.4.0
| #define FLEXSPI_CFG_BLK_VERSION (0x56010400UL) |
V1.4.0
| #define FSL_ROM_FLEXSPI_LUT_SEQ | ( | cmd0, | |
| pad0, | |||
| op0, | |||
| cmd1, | |||
| pad1, | |||
| op1 | |||
| ) |
| #define FSL_ROM_FLEXSPI_LUT_SEQ | ( | cmd0, | |
| pad0, | |||
| op0, | |||
| cmd1, | |||
| pad1, | |||
| op1 | |||
| ) |
| #define kROM_StatusGroup_FLEXSPI 60U |
ROM FLEXSPI status group number.
| #define kROM_StatusGroup_FLEXSPINOR 200U |
ROM FLEXSPI NOR status group number.
| #define kROM_StatusGroup_FLEXSPINOR 201U |
ROM FLEXSPI NOR status group number.
| #define MISRA_CAST | ( | to_type, | |
| to_var, | |||
| from_type, | |||
| from_var | |||
| ) |
convert the type for MISRA
| #define NOR_CMD_LUT_SEQ_IDX_CHIPERASE 11U |
Chip Erase sequence in lookupTable id stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_CHIPERASE 11U |
Chip Erase sequence in lookupTable id stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_ERASEBLOCK 8U |
Erase Block sequence id in lookupTable stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_ERASEBLOCK 8U |
Erase Block sequence id in lookupTable stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_ERASESECTOR 5U |
Erase Sector sequence id in lookupTable stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_ERASESECTOR 5U |
Erase Sector sequence id in lookupTable stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_EXIT_NOCMD 15U |
Exit 0-4-4/0-8-8 mode sequence id in lookupTable stored in config blobk
| #define NOR_CMD_LUT_SEQ_IDX_EXIT_NOCMD 15U |
Exit 0-4-4/0-8-8 mode sequence id in lookupTable stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_PAGEPROGRAM 9U |
Program sequence id in lookupTable stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_PAGEPROGRAM 9U |
Program sequence id in lookupTable stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_READ 0U |
NOR LUT sequence index used for default LUT assignment NOTE: The will take effect if the lut sequences are not customized. READ LUT sequence id in lookupTable stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_READ 0U |
NOR LUT sequence index used for default LUT assignment.
| #define NOR_CMD_LUT_SEQ_IDX_READ_SFDP 13U |
Read SFDP sequence in lookupTable id stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_READ_SFDP 13U |
Read SFDP sequence in lookupTable id stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_READSTATUS 1U |
Read Status LUT sequence id in lookupTable stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_READSTATUS 1U |
Read Status LUT sequence id in lookupTable stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_READSTATUS_XPI 2U |
Read status DPI/QPI/OPI sequence id in lookupTable stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_READSTATUS_XPI 2U |
Read status DPI/QPI/OPI sequence id in lookupTable stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_RESTORE_NOCMD 14U |
Restore 0-4-4/0-8-8 mode sequence id in lookupTable stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_RESTORE_NOCMD 14U |
Restore 0-4-4/0-8-8 mode sequence id in lookupTable stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_WRITEENABLE 3U |
Write Enable sequence id in lookupTable stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_WRITEENABLE 3U |
Write Enable sequence id in lookupTable stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_WRITEENABLE_XPI 4U |
Write Enable DPI/QPI/OPI sequence id in lookupTable stored in config block
| #define NOR_CMD_LUT_SEQ_IDX_WRITEENABLE_XPI 4U |
Write Enable DPI/QPI/OPI sequence id in lookupTable stored in config block
| anonymous enum |
| anonymous enum |
| anonymous enum |
Flash Configuration Command Type.
| anonymous enum |
Misc feature bit definitions.
| anonymous enum |
| anonymous enum |
Manufacturer ID.
| anonymous enum |
| anonymous enum |
| anonymous enum |
| anonymous enum |
Flash Configuration Command Type.
| anonymous enum |
Misc feature bit definitions.
| anonymous enum |
Manufacturer ID.
| enum _flexspi_nor_status |
ROM FLEXSPI NOR flash status.
| enum _flexspi_nor_status |
ROM FLEXSPI NOR flash status.
| enum _flexspi_operation |
| enum _flexspi_operation |
FLEXSPI Operation Context.
FLEXSPI Read Sample Clock Source definition.
FLEXSPI Read Sample Clock Source definition.
Defintions for FLEXSPI Serial Clock Frequency.
Definitions for FLEXSPI Serial Clock Frequency.
| uint32_t _flexspi_xfer::baseAddress |
FLEXSPI operation base address
| uint32_t _flexspi_nor_config::blockSize |
Block size.
Block size
| uint16_t _flexspi_mem_config::busyBitPolarity |
[0x07e-0x07f] Busy flag polarity, 0 - busy flag is 1 when flash device is busy, 1 - busy flag is 0 when flash device is busy
| uint16_t _flexspi_mem_config::busyOffset |
[0x07c-0x07d] Busy offset, valid value: 0-31
| uint32_t _serial_nor_config_option::cmd_pads |
Command pads
| uint32_t { ... } ::cmd_pads |
Command pads
| uint8_t _flexspi_mem_config::columnAddressWidth |
[0x00f-0x00f] Column Address with, for HyperBus protocol, it is fixed to 3, For Serial NAND, need to refer to datasheet
| uint32_t _flexspi_mem_config::commandInterval |
[0x074-0x077] CS deselect interval between two commands
| uint32_t _flexspi_mem_config::configCmdArgs |
[0x030-0x03b] Arguments/Parameters for device Configuration commands
| uint8_t _flexspi_mem_config::configCmdEnable |
[0x01c-0x01c] Configure command Enable Flag, 1 - Enable, 0 - Disable
| flexspi_lut_seq_t _flexspi_mem_config::configCmdSeqs |
[0x020-0x02b] Sequence info for Device Configuration command, similar as deviceModeSeq
| uint8_t _flexspi_mem_config::configModeType |
[0x01d-0x01f] Configure Mode Type, similar as deviceModeTpe
| uint32_t _flexspi_mem_config::controllerMiscOption |
[0x040-0x043] Controller Misc Options, see Misc feature bit definitions for more details
| uint8_t _flexspi_mem_config::csHoldTime |
[0x00d-0x00d] Data hold time, default value: 3
| uint32_t _flexspi_mem_config::csPadSettingOverride |
[0x060-0x063] CS pad setting override value
| uint8_t _flexspi_mem_config::csSetupTime |
[0x00e-0x00e] Date setup time, default value: 3
| uint32_t _flexspi_mem_config::dataPadSettingOverride |
[0x068-0x06b] data pad setting override value
| flexspi_dll_time_t _flexspi_mem_config::dataValidTime |
[0x078-0x07b] CLK edge to data valid time for PORT A and PORT B
| uint8_t flexspi_dll_time_t::delay_cells |
Data valid time, in terms of delay cells
| uint32_t _serial_nor_config_option::device_type |
Device type
| uint32_t { ... } ::device_type |
Device type
| uint32_t _flexspi_mem_config::deviceModeArg |
[0x018-0x01b] Argument/Parameter for device configuration
| uint8_t _flexspi_mem_config::deviceModeCfgEnable |
[0x010-0x010] Device Mode Configure enable flag, 1 - Enable, 0 - Disable
| flexspi_lut_seq_t _flexspi_mem_config::deviceModeSeq |
[0x014-0x017] Device mode sequence info, [7:0] - LUT sequence id, [15:8] - LUt sequence number, [31:16] Reserved
| uint8_t _flexspi_mem_config::deviceModeType |
[0x011-0x011] Specify the configuration command type:Quad Enable, DPI/QPI/OPI switch, Generic configuration, etc.
| uint8_t _flexspi_mem_config::deviceType |
[0x044-0x044] Device Type: See Flash Type Definition for more details
| uint32_t { ... } ::dqs_pinmux_group |
The DQS Pinmux Group Selection
| uint32_t _serial_nor_config_option::dqs_pinmux_group |
The DQS Pinmux Group Selection
| uint32_t _flexspi_mem_config::dqsPadSettingOverride |
[0x06c-0x06f] DQS pad setting override value
| uint32_t { ... } ::drive_strength |
The Drive Strength of FlexSPI Pads
| uint32_t _serial_nor_config_option::drive_strength |
The Drive Strength of FlexSPI Pads
| uint32_t _serial_nor_config_option::dummy_cycles |
Dummy cycles before read
| uint32_t { ... } ::dummy_cycles |
Dummy cycles before read
| uint32_t _serial_nor_config_option::flash_connection |
Flash connection option: 0 - Single Flash connected to port A, 1 - Parallel mode, 2 - Single Flash connected to Port B
| uint32_t { ... } ::flash_connection |
Flash connection option: 0 - Single Flash connected to port A, 1 - Parallel mode, 2 - Single Flash connected to Port B
| uint8_t _flexspi_nor_config::halfClkForNonReadCmd |
Half the Serial Clock for non-read command: true/false.
Half the Serial Clock for non-read command: true/false
| uint8_t _flexspi_nor_config::ipcmdSerialClkFreq |
Clock frequency for IP command.
Clock frequency for IP command
| uint8_t _flexspi_nor_config::isDataOrderSwapped |
The data order is swapped in OPI DDR mode (only i.MXRT11*)
Data order (D0, D1, D2, D3) is swapped (D1,D0, D3, D2)
| bool _flexspi_xfer::isParallelModeEnable |
Is a parallel transfer
| uint8_t _flexspi_nor_config::isUniformBlockSize |
Sector/Block size is the same.
Sector/Block size is the same
| uint32_t _flexspi_mem_config::lookupTable |
[0x080-0x17f] Lookup table holds Flash command sequences
| flexspi_lut_seq_t _flexspi_mem_config::lutCustomSeq |
[0x180-0x1af] Customizable LUT Sequences
| uint8_t _flexspi_mem_config::lutCustomSeqEnable |
[0x047-0x047] LUT customization Enable, it is required if the program/erase cannot be done using 1 LUT sequence, currently, only applicable to HyperFLASH
| uint32_t { ... } ::max_freq |
Maximum supported Frequency
| uint32_t _serial_nor_config_option::max_freq |
Maximum supported Frequency
| flexspi_mem_config_t _flexspi_nor_config::memConfig |
Common memory configuration info via FlexSPI.
Common memory configuration info via FLEXSPI
| uint32_t _serial_nor_config_option::misc_mode |
miscellaneous mode
| uint32_t { ... } ::misc_mode |
miscellaneous mode
| uint8_t _flexspi_nor_config::needExitNoCmdMode |
Need to exit NoCmd mode before other IP command.
Need to exit NoCmd mode before other IP command
| uint8_t _flexspi_nor_config::needRestoreNoCmdMode |
Need to Restore NoCmd mode after IP commmand execution.
Need to Restore NoCmd mode after IP commmand execution
Need to Restore NoCmd mode after IP command execution
| flexspi_operation_t _flexspi_xfer::operation |
FLEXSPI operation
| uint32_t _serial_nor_config_option::option_size |
Option size, in terms of uint32_t, size = (option_size + 1) * 4
| uint32_t { ... } ::option_size |
Option size, in terms of uint32_t, size = (option_size + 1) * 4
| uint32_t _flexspi_nor_config::pageSize |
Page size of Serial NOR.
Page size of Serial NOR
| uint32_t _serial_nor_config_option::pinmux_group |
The pinmux group selection
| uint32_t { ... } ::pinmux_group |
The pinmux group selection
| uint32_t _serial_nor_config_option::quad_mode_setting |
Quad mode setting
| uint32_t { ... } ::quad_mode_setting |
Quad mode setting
| uint32_t _serial_nor_config_option::query_pads |
SFDP read pads
| uint32_t { ... } ::query_pads |
SFDP read pads
| uint8_t _flexspi_mem_config::readSampleClkSrc |
[0x00c-0x00c] Read Sample Clock Source, valid value: 0/1/3
| uint32_t _flexspi_nor_config::reserve2 |
Reserved for future use.
Reserved for future use
| uint8_t _flexspi_nor_config::reserved0 |
Reserved for future use.
Reserved for future use
| uint32_t _flexspi_mem_config::reserved0 |
[0x008-0x00b] Reserved for future use
| uint32_t _flexspi_mem_config::reserved1 |
[0x02c-0x02f] Reserved for future use
| uint32_t _flexspi_mem_config::reserved2 |
[0x03c-0x03f] Reserved for future use
| uint32_t _flexspi_mem_config::reserved3 |
[0x048-0x04f] Reserved for future use
| uint32_t _flexspi_mem_config::reserved4 |
[0x1b0-0x1bf] Reserved for future use
| uint32_t * _flexspi_xfer::rxBuffer |
Rx buffer
| uint32_t _flexspi_xfer::rxSize |
Rx size in bytes
| uint32_t _flexspi_mem_config::sclkPadSettingOverride |
[0x064-0x067] SCK pad setting override value
| uint32_t _flexspi_nor_config::sectorSize |
Sector size of Serial NOR.
Sector size of Serial NOR
| uint8_t _flexspi_lut_seq::seqId |
Sequence Index, valid number: 0-15
| uint32_t _flexspi_xfer::seqId |
Sequence Id
| uint8_t _flexspi_lut_seq::seqNum |
Sequence Number, valid number: 1-16
| uint32_t _flexspi_xfer::seqNum |
Sequence Number
| uint8_t _flexspi_mem_config::serialClkFreq |
[0x046-0x046] Serial Flash Frequencey, device specific definitions, See System Boot Chapter for more details
[0x046-0x046] Serial Flash Frequency, device specific definitions. See System Boot Chapter for more details
| uint8_t _flexspi_nor_config::serialNorType |
Serial NOR Flash type: 0/1/2/3.
Serial NOR Flash type: 0/1/2/3
| uint32_t _flexspi_mem_config::sflashA1Size |
[0x050-0x053] Size of Flash connected to A1
| uint32_t _flexspi_mem_config::sflashA2Size |
[0x054-0x057] Size of Flash connected to A2
| uint32_t _flexspi_mem_config::sflashB1Size |
[0x058-0x05b] Size of Flash connected to B1
| uint32_t _flexspi_mem_config::sflashB2Size |
[0x05c-0x05f] Size of Flash connected to B2
| uint8_t _flexspi_mem_config::sflashPadType |
[0x045-0x045] Serial Flash Pad Type: 1 - Single, 2 - Dual, 4 - Quad, 8 - Octal
| uint32_t _serial_nor_config_option::status_override |
Override status register value during device mode configuration
| uint32_t { ... } ::status_override |
Override status register value during device mode configuration
| uint32_t _flexspi_mem_config::tag |
[0x000-0x003] Tag, fixed value 0x42464346UL
| uint32_t { ... } ::tag |
Tag, must be 0x0E
| uint32_t _serial_nor_config_option::tag |
Tag, must be 0x0E
| uint8_t flexspi_dll_time_t::time_100ps |
Data valid time, in terms of 100ps
| uint32_t _flexspi_mem_config::timeoutInMs |
[0x070-0x073] Timeout threshold for read status command
| uint32_t * _flexspi_xfer::txBuffer |
Tx buffer
| uint32_t _flexspi_xfer::txSize |
Tx size in bytes
| uint32_t _flexspi_mem_config::version |
[0x004-0x007] Version,[31:24] -'V', [23:16] - Major, [15:8] - Minor, [7:0] - bugfix
| uint16_t _flexspi_mem_config::waitTimeCfgCommands |
[0x012-0x013] Wait time for all configuration commands, unit: 100us, Used for DPI/QPI/OPI switch or reset command