RTEMS 6.1-rc1
Public Member Functions | Data Fields
XNandPsu Struct Reference

#include <xnandpsu.h>

Public Member Functions

u8 PartialDataBuf[XNANDPSU_MAX_PAGE_SIZE__attribute__ ((aligned(64)))
 

Data Fields

u32 IsReady
 
XNandPsu_Config Config
 
u32 Ecc_Stat_PerPage_flips
 
u32 Ecc_Stats_total_flips
 
XNandPsu_DataInterface DataInterface
 
XNandPsu_TimingMode TimingMode
 
XNandPsu_SWMode Mode
 
XNandPsu_DmaMode DmaMode
 
XNandPsu_EccMode EccMode
 
XNandPsu_EccCfg EccCfg
 
XNandPsu_Geometry Geometry
 
XNandPsu_Features Features
 
XNandPsu_BbtDesc BbtDesc
 
XNandPsu_BbtDesc BbtMirrorDesc
 
XNandPsu_BadBlockPattern BbPattern
 
u8 Bbt [XNANDPSU_MAX_BLOCKS > > 2]
 

Detailed Description

The XNandPsu structure contains the driver instance data. The user is required to allocate a variable of this type for the NAND controller. A pointer to a variable of this type is then passed to the driver API functions.

Field Documentation

◆ BbPattern

XNandPsu_BadBlockPattern XNandPsu::BbPattern

Bad block pattern to search

◆ Bbt

u8 XNandPsu::Bbt[XNANDPSU_MAX_BLOCKS > > 2]

Bad block table array

◆ BbtDesc

XNandPsu_BbtDesc XNandPsu::BbtDesc

Bad block table descriptor

◆ BbtMirrorDesc

XNandPsu_BbtDesc XNandPsu::BbtMirrorDesc

Mirror BBT descriptor

◆ DmaMode

XNandPsu_DmaMode XNandPsu::DmaMode

MDMA mode enabled/disabled

◆ Ecc_Stat_PerPage_flips

u32 XNandPsu::Ecc_Stat_PerPage_flips

Ecc Correctable Error Counter for Current Page

◆ Ecc_Stats_total_flips

u32 XNandPsu::Ecc_Stats_total_flips

Total Ecc Errors Corrected

◆ EccCfg

XNandPsu_EccCfg XNandPsu::EccCfg

ECC configuration

◆ EccMode

XNandPsu_EccMode XNandPsu::EccMode

ECC Mode

◆ Features

XNandPsu_Features XNandPsu::Features

ONFI features

◆ Geometry

XNandPsu_Geometry XNandPsu::Geometry

Flash geometry

◆ IsReady

u32 XNandPsu::IsReady

Device is initialized and ready

◆ Mode

XNandPsu_SWMode XNandPsu::Mode

Driver operating mode


The documentation for this struct was generated from the following file: