次の方法で共有


FLASH_REGION_INFO_FLAGS (Compact 2013)

3/26/2014

This enumeration defines flags that describe the features supported by a flash part.

Syntax

enum FLASH_REGION_INFO_FLAGS {
  FLASH_FLAG_NAND                     = 0x00000001,
  FLASH_FLAG_NOR                      = 0x00000002,
  FLASH_FLAG_REQUIRE_SEQ_PAGE_PROGRAM = 0x00000004,
  FLASH_FLAG_SUPPORTS_COPY            = 0x00000008,
  FLASH_FLAG_SUPPORTS_XIP             = 0x00000010,
  FLASH_FLAG_SUPPORTS_LOCKING         = 0x00000020,
};

Elements

  • FLASH_FLAG_NAND
    Indicates that the flash part is NAND.
  • FLASH_FLAG_NOR
    Indicates that the flash part is NOR.
  • FLASH_FLAG_REQUIRE_SEQ_PAGE_PROGRAM
    Indicates that a region requires sequential page programming and does not allow out-of-order sector writes within a block. For example, multi-level cell (MLC) NAND.
  • FLASH_FLAG_SUPPORTS_LOCKING
    Indicates that the flash part supports block level locking and unlocking. The PDD must implement IOCTL_FLASH_PDD_LOCK_BLOCKS for block locking and unlocking support.

Requirements

Header

FlashCommon.h

See Also

Reference

Flash Driver PDD Enumerations