MCUXpresso SDK API Reference Manual  Rev. 0
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Spifi Nor Flash

Overview

Data Structures

struct  spifi_nor_config_t
 Serial Spifi module configuration block. More...
 

Enumerations

enum  _serial_nor_command { ,
  kSerialNorCmd_WriteStatus = 0x01U,
  kSerialNorCmd_WriteSecStatus_31 = 0x31U,
  kSerialNorCmd_WriteSecStatus_3E = 0x3EU,
  kSerialNorCmd_WriteMemory = 0x02U,
  kSerialNorCmd_WriteMemoryA32 = 0x12U,
  kSerialNorCmd_WriteEnable = 0x06U,
  kSerialNorCmd_WriteDisable = 0x04U,
  kSerialNorCmd_ReadStatus = 0x05U,
  kSerialNorCmd_ReadSecStatus_35 = 0x35U,
  kSerialNorCmd_ReadSecStatus_3F = 0x3FU,
  kSerialNorCmd_ReadMemory = 0x03U,
  kSerialNorCmd_ReadMemoryA32 = 0x13U,
  kSerialNorCmd_ReadMemorySDR_1_1_2 = 0x3BU,
  kSerialNorCmd_ReadMemorySDR_1_2_2 = 0xBBU,
  kSerialNorCmd_ReadMemorySDR_1_1_4 = 0x6BU,
  kSerialNorCmd_ReadMemorySDR_1_4_4 = 0xEBU,
  kSerialNorCmd_ReadMemorySDR_1_4_4_A32,
  kSerialNorCmd_ReadMemorySDR_1_1_4_A32,
  kSerialNorCmd_EraseChipNor = 0x60U,
  kSerialNorCmd_EraseChip = 0xc7U,
  kSerialNorCmd_ErasePage = 0x42U,
  kSerialNorCmd_EraseSector4KB = 0x20U,
  kSerialNorCmd_EraseSector32KB = 0x52U,
  kSerialNorCmd_EraseSector = 0xd8U,
  kSerialNorCmd_EraseSector4KBA32 = 0x21U,
  kSerialNorCmd_EraseSectorA32 = 0xdcU
}
 Serial NOR command codes. More...
 
enum  spifi_nor_clock_init_t
 SPIFI clock init with different clock frequency. More...
 
enum  
 Serial NOR quad mode enable setting requirements. More...
 

Data Structure Documentation

struct spifi_nor_config_t

Data Fields

bool isQuadDualNeedEnable
 Wether quad/dual enable is needed: 1 - Enable, 0 - Disable.
 
bool writeTwoStausBytes
 Wether need to write two status bytes to enable quad/dual mode.
 
uint8_t quadDualEnableCommand
 Write status command which can enable quad/dual mode.
 
uint8_t quadDualEnableBitShift
 The shift of quad/dual enable bit in the status register.
 
uint8_t quadDualreadCommand
 Read status command which can read quad/dual mode enable bit.
 
spifi_config_t memConfig
 Common memory configuration info via SPIFI.
 

Enumeration Type Documentation

Enumerator
kSerialNorCmd_WriteStatus 

WRSR: Write Status Register.

kSerialNorCmd_WriteSecStatus_31 

WRSR: Write second Status Register.

kSerialNorCmd_WriteSecStatus_3E 

WRSR: Write second Status Register.

kSerialNorCmd_WriteMemory 

WRITE: Write Byte/Page Data to Memory Array with less than 4-byte address.

kSerialNorCmd_WriteMemoryA32 

4PP: Write Byte/Page Data to Memory Array with 4-byte address

kSerialNorCmd_WriteEnable 

WREN: Set Write Enable Latch.

kSerialNorCmd_WriteDisable 

WRDI: Reset Write Enable Latch.

kSerialNorCmd_ReadStatus 

RDSR: Read Status Register.

kSerialNorCmd_ReadSecStatus_35 

RDSR: Read second Status Register.

kSerialNorCmd_ReadSecStatus_3F 

RDSR: Read second Status Register.

kSerialNorCmd_ReadMemory 

READ: Read Data from Memory Array with less than 4-byte address.

kSerialNorCmd_ReadMemoryA32 

4READ: Read Data from Memory Array with 4-byte address

kSerialNorCmd_ReadMemorySDR_1_1_2 

READ: Read Data from Memory with 1(opcode)_1(address)_2(data) mode.

kSerialNorCmd_ReadMemorySDR_1_2_2 

READ: Read Data from Memory with 1(opcode)_2(address)_2(data) mode.

kSerialNorCmd_ReadMemorySDR_1_1_4 

READ: Read Data from Memory with 1(opcode)_1(address)_4(data) mode.

kSerialNorCmd_ReadMemorySDR_1_4_4 

READ: Read Data from Memory with 1(opcode)_4(address)_4(data) mode.

kSerialNorCmd_ReadMemorySDR_1_4_4_A32 

READ: Read Data from 4-bytes address Memory with 1(opcode)_4(address)_4(data) mode.

kSerialNorCmd_ReadMemorySDR_1_1_4_A32 

READ: Read Data from 4-bytes address Memory with 1(opcode)_1(address)_4(data) mode.

kSerialNorCmd_EraseChipNor 

CE.

kSerialNorCmd_EraseChip 

CE.

kSerialNorCmd_ErasePage 

PE.

kSerialNorCmd_EraseSector4KB 

SE4KB.

kSerialNorCmd_EraseSector32KB 

SE32KB.

kSerialNorCmd_EraseSector 

SE.

kSerialNorCmd_EraseSector4KBA32 

4SE4KB

kSerialNorCmd_EraseSectorA32 

4SE

anonymous enum