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

Overview

Data Structures

struct  nand_onfi_parameter_config_t
 Parallel NAND ONFI parameter config. More...
 
struct  nand_onfi_feature_config_t
 Parallel NAND ONFI feature config. More...
 
struct  semc_mem_nand_config_t
 SEMC NAND Flash Config block structure. More...
 
struct  semc_mem_nand_handle_t
 NAND Flash handle info. More...
 

Typedefs

typedef void(* delay_us )(uint32_t us)
 us delay function pointer
 

Enumerations

enum  _nand_vendor_type_index
 NAND Flash vendor type.
 
enum  _nand_ac_timing_table_index
 Parallel NAND Flash AC timing mode.
 
enum  _nand_onfi_command_set
 Parallel NAND Flash commands.
 
enum  nand_onfi_version_t
 Parallel NAND Flash ONFI Version.
 
enum  nand_status_command_type_t
 Parallel NAND Flash Status Command Type.
 
enum  nand_change_readcolumn_command_type_t
 Parallel NAND Flash change read column Command Type.
 
enum  nand_ecc_check_type_t
 NAND Flash ecc check type.
 
enum  nand_ready_check_option_t {
  kNandReadyCheckOption_SR = 0U,
  kNandReadyCheckOption_RB = 1U
}
 Parallel NAND Flash Ready check option. More...
 

Data Structure Documentation

struct nand_onfi_parameter_config_t

Data Fields

uint32_t signature
 [0x000-0x003]
 
uint16_t revisionNumber
 [0x004-0x005]
 
struct {
supportedFeatures
 [0x006-0x007]
 
struct {
optionalCommands
 [0x008-0x009]
 
uint8_t reserved0 [22]
 [0x00a-0x01f]
 
uint8_t deviceManufacturer [12]
 [0x020-0x02b]
 
uint8_t deviceModel [20]
 [0x02c-0x03f]
 
uint8_t JEDECid
 [0x040-0x040]
 
uint8_t dataCode [2]
 [0x041-0x042]
 
uint8_t reserved1 [13]
 [0x043-0x04f]
 
uint32_t dataBytesPerPage
 [0x050-0x053]
 
uint16_t spareBytesPerPage
 [0x054-0x055]
 
uint8_t reserved2 [6]
 [0x056-0x05b]
 
uint32_t pagesPerBlock
 [0x05c-0x05f]
 
uint32_t blocksPerLUN
 [0x060-0x063]
 
uint8_t LUNsPerDevice
 [0x064-0x064]
 
union {
}; 
 [0x065-0x065]
 
uint8_t reserved3 [26]
 [0x066-0x07f]
 
uint8_t reserved4
 [0x080-0x080]
 
struct {
timingMode
 [0x081-0x081]
 
uint8_t reserved5 [3]
 [0x082-0x084]
 
uint8_t maxPageProgramTimeInUs [2]
 [0x085-0x086]
 
uint8_t maxBlockEraseTimeInUs [2]
 [0x087-0x088]
 
uint8_t maxPageReadTimeInUs [2]
 [0x089-0x08a]
 
uint8_t minChangeColunmSetupTimeInNs [2]
 [0x08b-0x08c]
 
uint8_t reserved6 [23]
 [0x08d-0x0a3]
 
uint16_t vendorSpecificRevisionNumber
 [0x0a4-0x0a5]
 
uint8_t reserved7 [88]
 [0x0a6-0x0fd]
 
uint16_t integrityCRC
 [0x0fe-0x0ff]
 
struct nand_onfi_feature_config_t
struct semc_mem_nand_config_t

Data Fields

semc_nand_config_tsemcNandConfig
 
         memory controller configuration, shoule bd configured with controller

configure structure. More...

 
uint32_t clkSrc_Hz
 The async clock frequency.
 
delay_us delayUS
 delay function pointer, application should prepare a delay function for it
 
nand_onfi_version_t onfiVersion
 only onfi nand flash will be supported currently. More...
 
uint8_t readyCheckOption
 Set with enum type defined in "nand_ready_check_option_t".
 
nand_ecc_check_type_t eccCheckType
 Soft/device ECC check. More...
 

Field Documentation

semc_nand_config_t* semc_mem_nand_config_t::semcNandConfig
nand_onfi_version_t semc_mem_nand_config_t::onfiVersion
nand_ecc_check_type_t semc_mem_nand_config_t::eccCheckType
struct semc_mem_nand_handle_t

Data Fields

delay_us delayUS
 delay function pointer, application should prepare a delay function for it
 
uint32_t ctlAccessMemAddr1
 Nand memory address for memory controller access. More...
 
uint32_t ctlAccessMemAddr2
 Nand memory address for memory controller access. More...
 
uint8_t readyCheckOption
 Set with enum type defined in "nand_ready_check_option_t".
 
nand_ecc_check_type_t eccCheckType
 Soft/device ECC check. More...
 
uint8_t statusCommandType
 the command enhanced mode or normal command mode
 
uint8_t changeReadColumnType
 the change read column type. More...
 
uint8_t columnWidth
 the Colum width setting in the controller. More...
 
bool isFeatureCommandSupport
 feature command support . More...
 
uint32_t rowAddressToGetSR
 Row address for read status enhanced command.
 
uint32_t pageReadTimeInUs_tR
 Page read time delay.
 
uint32_t PageProgramTimeInUs_tPROG
 Page program time delay.
 
uint32_t blockEraseTimeInUs_tBERS
 block erase time delay
 
uint32_t changeColumnSetupTimeInNs_tCCS
 Change column setup time delay.
 

Field Documentation

uint32_t semc_mem_nand_handle_t::ctlAccessMemAddr1
uint32_t semc_mem_nand_handle_t::ctlAccessMemAddr2
nand_ecc_check_type_t semc_mem_nand_handle_t::eccCheckType
uint8_t semc_mem_nand_handle_t::changeReadColumnType
uint8_t semc_mem_nand_handle_t::columnWidth
bool semc_mem_nand_handle_t::isFeatureCommandSupport

Enumeration Type Documentation

Enumerator
kNandReadyCheckOption_SR 

Via Status Register.

kNandReadyCheckOption_RB 

Via R/B# signal.