File System Component  Version 6.14.4
MDK Middleware for Devices with Flash File System
FsNAND: NAND Device Interface

Events generated by File System - NAND Flash Device Interface functions. More...

Functions

__STATIC_INLINE void EvrFsNAND_Init (uint32_t instance)
 Event on NAND media layer initialization (Op) More...
 
__STATIC_INLINE void EvrFsNAND_InitDriver (uint32_t instance, uint32_t driver)
 Event on NAND driver initialization (Op) More...
 
__STATIC_INLINE void EvrFsNAND_InitDriverError (uint32_t instance, uint32_t driver)
 Event on NAND driver initialization error (Error) More...
 
__STATIC_INLINE void EvrFsNAND_DriverPowerCtrlError (uint32_t instance, uint32_t driver, uint32_t state)
 Event on NAND driver initialization error (Error) More...
 
__STATIC_INLINE void EvrFsNAND_DriverBusModeSelect (uint32_t instance, uint32_t driver, uint32_t mode)
 Event on NAND driver initialization error (Error) More...
 
__STATIC_INLINE void EvrFsNAND_DriverBusWidthSelect (uint32_t instance, uint32_t driver, uint32_t width)
 Event on NAND driver initialization error (Error) More...
 
__STATIC_INLINE void EvrFsNAND_DriverBusWidthError (uint32_t instance, uint32_t driver, uint32_t width)
 Event on NAND driver initialization error (Error) More...
 
__STATIC_INLINE void EvrFsNAND_DriverDevPowerSelect (uint32_t instance, uint32_t driver, uint32_t volt)
 Event on NAND device voltage change (Op) More...
 
__STATIC_INLINE void EvrFsNAND_DriverEccInquire (uint32_t instance, uint32_t driver)
 Event on NAND driver ECC inquiry (Op) More...
 
__STATIC_INLINE void EvrFsNAND_DriverEccSelect (uint32_t instance, uint32_t driver, uint32_t index)
 Event on NAND driver ECC selection (Op) More...
 
__STATIC_INLINE void EvrFsNAND_DriverEccInquireError (uint32_t instance, uint32_t driver)
 Event on NAND driver ECC inquiry error (Op) More...
 
__STATIC_INLINE void EvrFsNAND_DriverTimeoutError (uint32_t instance, uint32_t driver)
 Event on NAND driver timeout error (Error) More...
 
__STATIC_INLINE void EvrFsNAND_DeviceTimeoutError (uint32_t instance, uint32_t driver, uint32_t device)
 Event on NAND device timeout error (Error) More...
 
__STATIC_INLINE void EvrFsNAND_Uninit (uint32_t instance)
 Event on NAND media layer uninitialization (Op) More...
 
__STATIC_INLINE void EvrFsNAND_StatusRead (uint32_t instance, uint32_t status)
 Event on NAND device status retrieval (Detail) More...
 
__STATIC_INLINE void EvrFsNAND_BlockErase (uint32_t instance, uint32_t row)
 Event on NAND erase block operation (Op) More...
 
__STATIC_INLINE void EvrFsNAND_PageWrite (uint32_t instance, uint32_t row, uint32_t col, uint32_t len)
 Event on NAND page write operation (Op) More...
 
__STATIC_INLINE void EvrFsNAND_PageRead (uint32_t instance, uint32_t row, uint32_t col, uint32_t len)
 Event on NAND page read operation (Op) More...
 
__STATIC_INLINE void EvrFsNAND_ParamPageRead (uint32_t instance, uint32_t col, uint32_t len)
 Event on NAND parameter page read operation (Op) More...
 
__STATIC_INLINE void EvrFsNAND_IdRead (uint32_t instance, uint32_t addr, uint32_t len)
 Event on NAND device ID read operation (Op) More...
 
__STATIC_INLINE void EvrFsNAND_DeviceReset (uint32_t instance)
 Event on NAND device reset operation (Op) More...
 

Description

Events generated by File System - NAND Flash Device Interface functions.

FileSystem - NAND Flash Device Interface

Function Documentation

◆ EvrFsNAND_BlockErase()

__STATIC_INLINE void EvrFsNAND_BlockErase ( uint32_t  instance,
uint32_t  row 
)

Event on NAND erase block operation (Op)

Parameters
[in]instanceNAND media layer instance
[in]rowblock (row) address

The event EraseBlock is generated on attempt to erase NAND device memory block.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • row: block row address.

◆ EvrFsNAND_DeviceReset()

__STATIC_INLINE void EvrFsNAND_DeviceReset ( uint32_t  instance)

Event on NAND device reset operation (Op)

Parameters
[in]instanceNAND media layer instance

The event DeviceReset is generated on attempt to reset NAND device.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsNAND_DeviceTimeoutError()

__STATIC_INLINE void EvrFsNAND_DeviceTimeoutError ( uint32_t  instance,
uint32_t  driver,
uint32_t  device 
)

Event on NAND device timeout error (Error)

Parameters
[in]instanceNAND media layer instance
[in]driverCMSIS NAND driver control block address
[in]deviceNAND device number

The event DeviceTimeoutError is generated when a function fails to access a device on time. Usually, the device is busy.

Value in the Event Recorder shows:

  • instance : number of Software Component driver instance.
  • driver : name of Software Component driver.
  • device : name of device.

◆ EvrFsNAND_DriverBusModeSelect()

__STATIC_INLINE void EvrFsNAND_DriverBusModeSelect ( uint32_t  instance,
uint32_t  driver,
uint32_t  mode 
)

Event on NAND driver initialization error (Error)

Parameters
[in]instanceNAND media layer instance
[in]driverCMSIS NAND driver control block address
[in]modeNAND bus mode

The event DriverBusModeSelect is generated when the NAND driver bus mode is set.

Value in the Event Recorder shows:

  • instance : number of Software Component driver instance.
  • driver : name of Software Component driver.
  • mode : bus mode (ARM_NAND_BUS_MODE).

◆ EvrFsNAND_DriverBusWidthError()

__STATIC_INLINE void EvrFsNAND_DriverBusWidthError ( uint32_t  instance,
uint32_t  driver,
uint32_t  width 
)

Event on NAND driver initialization error (Error)

Parameters
[in]instanceNAND media layer instance
[in]driverCMSIS NAND driver control block address
[in]widthNAND bus width

The event DriverBusWidthSelect is generated when the NAND driver bus width cannot be set.

Value in the Event Recorder shows:

  • instance : number of Software Component driver instance.
  • driver : name of Software Component driver.
  • width : bus data width (ARM_NAND_BUS_DATA_WIDTH).

◆ EvrFsNAND_DriverBusWidthSelect()

__STATIC_INLINE void EvrFsNAND_DriverBusWidthSelect ( uint32_t  instance,
uint32_t  driver,
uint32_t  width 
)

Event on NAND driver initialization error (Error)

Parameters
[in]instanceNAND media layer instance
[in]driverCMSIS NAND driver control block address
[in]widthNAND bus width

The event DriverBusWidthSelect is generated when the NAND driver bus width is set.

Value in the Event Recorder shows:

  • instance : number of Software Component driver instance.
  • driver : name of Software Component driver.
  • width : bus data width (ARM_NAND_BUS_DATA_WIDTH).

◆ EvrFsNAND_DriverDevPowerSelect()

__STATIC_INLINE void EvrFsNAND_DriverDevPowerSelect ( uint32_t  instance,
uint32_t  driver,
uint32_t  volt 
)

Event on NAND device voltage change (Op)

Parameters
[in]instanceNAND media layer instance
[in]driverCMSIS NAND driver control block address
[in]voltNAND device voltage

The event DriverDevPowerSelect is generated when setting the NAND device power.

Value in the Event Recorder shows:

  • instance : number of Software Component driver instance.
  • driver : name of Software Component driver.
  • volt : NAND Device Power.

◆ EvrFsNAND_DriverEccInquire()

__STATIC_INLINE void EvrFsNAND_DriverEccInquire ( uint32_t  instance,
uint32_t  driver 
)

Event on NAND driver ECC inquiry (Op)

Parameters
[in]instanceNAND media layer instance
[in]driverCMSIS NAND driver control block address

The event DriverEccInquire is generated when a function is retrieving ECC information.

Value in the Event Recorder shows:

  • instance : number of Software Component driver instance.
  • driver : name of Software Component driver.

◆ EvrFsNAND_DriverEccInquireError()

__STATIC_INLINE void EvrFsNAND_DriverEccInquireError ( uint32_t  instance,
uint32_t  driver 
)

Event on NAND driver ECC inquiry error (Op)

Parameters
[in]instanceNAND media layer instance
[in]driverCMSIS NAND driver control block address

The event DriverEccInquireError is generated when a function fails to retrieve ECC information.

Value in the Event Recorder shows:

  • instance : number of Software Component driver instance.
  • driver : name of Software Component driver.

◆ EvrFsNAND_DriverEccSelect()

__STATIC_INLINE void EvrFsNAND_DriverEccSelect ( uint32_t  instance,
uint32_t  driver,
uint32_t  index 
)

Event on NAND driver ECC selection (Op)

Parameters
[in]instanceNAND media layer instance
[in]driverCMSIS NAND driver control block address
[in]indexECC selection index

The event DriverEccSelect is generated when NAND media driver selects ECC layout.

Value in the Event Recorder shows:

  • instance : number of Software Component driver instance.
  • driver : name of Software Component driver.
  • index : selected ECC index.

◆ EvrFsNAND_DriverPowerCtrlError()

__STATIC_INLINE void EvrFsNAND_DriverPowerCtrlError ( uint32_t  instance,
uint32_t  driver,
uint32_t  state 
)

Event on NAND driver initialization error (Error)

Parameters
[in]instanceNAND media layer instance
[in]driverCMSIS NAND driver control block address
[in]stateCMSIS driver power state

The event DriverPowerCtrlError is generated when the NAND driver power control functions fail.

Value in the Event Recorder shows:

  • instance : number of Software Component driver instance.
  • driver : name of Software Component driver.
  • state : power state (ARM_POWER_STATE).

◆ EvrFsNAND_DriverTimeoutError()

__STATIC_INLINE void EvrFsNAND_DriverTimeoutError ( uint32_t  instance,
uint32_t  driver 
)

Event on NAND driver timeout error (Error)

Parameters
[in]instanceNAND media layer instance
[in]driverCMSIS NAND driver control block address

The event DriverTimeoutError is generated when a function fails to access a driver on time. Usually, the driver is busy.

Value in the Event Recorder shows:

  • instance : number of Software Component driver instance.
  • driver : name of Software Component driver.

◆ EvrFsNAND_IdRead()

__STATIC_INLINE void EvrFsNAND_IdRead ( uint32_t  instance,
uint32_t  addr,
uint32_t  len 
)

Event on NAND device ID read operation (Op)

Parameters
[in]instanceNAND media layer instance
[in]addrID address
[in]lennumber of bytes

The event DeviceReset is generated on attempt to read NAND device ID from the specified address.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • addr : ID address.
  • len : number of bytes to read.

◆ EvrFsNAND_Init()

__STATIC_INLINE void EvrFsNAND_Init ( uint32_t  instance)

Event on NAND media layer initialization (Op)

Parameters
[in]instanceNAND media layer instance

The event Init is generated on attempt to initialize the NAND media driver.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.

◆ EvrFsNAND_InitDriver()

__STATIC_INLINE void EvrFsNAND_InitDriver ( uint32_t  instance,
uint32_t  driver 
)

Event on NAND driver initialization (Op)

Parameters
[in]instanceNAND media layer instance
[in]driverCMSIS NAND driver control block address

The event InitDriver is generated when the system initializes the NAND driver.

Value in the Event Recorder shows:

  • instance : number of Software Component driver instance.
  • driver : name of Software Component driver.

◆ EvrFsNAND_InitDriverError()

__STATIC_INLINE void EvrFsNAND_InitDriverError ( uint32_t  instance,
uint32_t  driver 
)

Event on NAND driver initialization error (Error)

Parameters
[in]instanceNAND media layer instance
[in]driverCMSIS NAND driver control block address

The event InitDriverError is generated when the system fails to initialize the NAND driver.

Value in the Event Recorder shows:

  • instance : number of Software Component driver instance.
  • driver : name of Software Component driver.

◆ EvrFsNAND_PageRead()

__STATIC_INLINE void EvrFsNAND_PageRead ( uint32_t  instance,
uint32_t  row,
uint32_t  col,
uint32_t  len 
)

Event on NAND page read operation (Op)

Parameters
[in]instanceNAND media layer instance
[in]rowpage (row) address
[in]colbyte (column) address
[in]lennumber of bytes

The event PageRead is generated on attempt to read NAND device memory page.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • row : page row address.
  • col : page column address.
  • len : number of bytes to read.

◆ EvrFsNAND_PageWrite()

__STATIC_INLINE void EvrFsNAND_PageWrite ( uint32_t  instance,
uint32_t  row,
uint32_t  col,
uint32_t  len 
)

Event on NAND page write operation (Op)

Parameters
[in]instanceNAND media layer instance
[in]rowpage (row) address
[in]colbyte (column) address
[in]lennumber of bytes

The event PageWrite is generated on attempt to write NAND device memory page.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • row : page row address.
  • col : page column address.
  • len : number of bytes to read.

◆ EvrFsNAND_ParamPageRead()

__STATIC_INLINE void EvrFsNAND_ParamPageRead ( uint32_t  instance,
uint32_t  col,
uint32_t  len 
)

Event on NAND parameter page read operation (Op)

Parameters
[in]instanceNAND media layer instance
[in]colbyte (column) address
[in]lennumber of bytes

The event DeviceReset is generated on attempt to read NAND device parameter page.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • col : column number.
  • len : number of bytes to read.

◆ EvrFsNAND_StatusRead()

__STATIC_INLINE void EvrFsNAND_StatusRead ( uint32_t  instance,
uint32_t  status 
)

Event on NAND device status retrieval (Detail)

Parameters
[in]instanceNAND media layer instance
[in]statusdevice status

The event ReadStatus is generated when NAND device status byte is retrieved.

Value in the Event Recorder shows:

  • instance : number of Software Component instance.
  • status : NAND device status.

◆ EvrFsNAND_Uninit()

__STATIC_INLINE void EvrFsNAND_Uninit ( uint32_t  instance)

Event on NAND media layer uninitialization (Op)

Parameters
[in]instanceNAND media layer instance

The event Uninit is generated on attempt to de-initialize the NAND media driver.

Value of the Event Recorder shows:

  • instance : number of Software Component instance.