Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Several members of p_phy_data may need to be used/assigned:

  1. BlkCnt and BlkSize must be assigned the block count and block size of the device, respectively.
  2. RegionNbr specifies the block region that will be used. AddrRegionStartmust be assigned the start address of this block region.
  3. DataPtr may store a pointer to any driver-specific data.
  4. UnitNbr is the unit number of the NOR device.
  5. MaxClkFreq specifies the maximum SPI clock frequency.
  6. BusWIdth, BusWidthMax and PhyDevCnt specify the bus configuration. AddrBase specifies the base address of the NOR flash memory.