SunSPOT host API V3.0


com.sun.spot.flashmanagement
Class HostNorFlashSectorFactory

java.lang.Object
  extended by com.sun.spot.flashmanagement.HostNorFlashSectorFactory
All Implemented Interfaces:
INorFlashSectorFactory

public class HostNorFlashSectorFactory
extends Object
implements INorFlashSectorFactory

HostNorFlashSectorFactory creates INorFlashSectors on the host so that host-side SpotClient can manipulate the sectors of the SPOT directly.


Constructor Summary
HostNorFlashSectorFactory(ITargetFlashAccess target)
          Create a HostNorFlashSectorFactory
 
Method Summary
 IAddressableNorFlashSector create(int sectorNumber, int purpose)
          Create an IAddressableNorFlashSector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostNorFlashSectorFactory

public HostNorFlashSectorFactory(ITargetFlashAccess target)
Create a HostNorFlashSectorFactory

Parameters:
target -
Method Detail

create

public IAddressableNorFlashSector create(int sectorNumber,
                                         int purpose)
Description copied from interface: INorFlashSectorFactory
Create an IAddressableNorFlashSector

Specified by:
create in interface INorFlashSectorFactory
Parameters:
sectorNumber - The unique number to associate with the new sector
purpose - The intended use of the new sector. Normally one of INorFlashSector.RMS_PURPOSED, INorFlashSector.SYSTEM_PURPOSED or INorFlashSector.USER_PURPOSED
Returns:
the new IAddressableNorFlashSector
See Also:
INorFlashSectorFactory.create(int, int)

SunSPOT host API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.