com.sun.spot.flashmanagement
Class HostNorFlashSectorFactory
java.lang.Object
com.sun.spot.resources.Resource
com.sun.spot.flashmanagement.HostNorFlashSectorFactory
- All Implemented Interfaces:
- INorFlashSectorFactory, IResource
public class HostNorFlashSectorFactory
- extends Resource
- implements INorFlashSectorFactory
HostNorFlashSectorFactory creates INorFlashSectors on the host so that
host-side SpotClient can manipulate the sectors of the SPOT directly.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostNorFlashSectorFactory
public HostNorFlashSectorFactory(ITargetFlashAccess target)
- Create a
HostNorFlashSectorFactory
- Parameters:
target -
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 sectorpurpose - 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)
Copyright © 2006-2010 Oracle. All Rights Reserved.