SunSPOT API V3.0


com.sun.spot.flashmanagement
Interface IAddressableNorFlashSector

All Superinterfaces:
INorFlashSector
All Known Implementing Classes:
NorFlashSector

public interface IAddressableNorFlashSector
extends INorFlashSector

IAddressableNorFlashSector extends INorFlashSector to support the ability to assign virtual memory addresses to sectors.


Field Summary
 
Fields inherited from interface com.sun.squawk.peripheral.INorFlashSector
RMS_PURPOSED, SYSTEM_PURPOSED, USER_PURPOSED
 
Method Summary
 int getSectorNumber()
           
 int getStartAddressAsInt()
           
 int getVirtualStartAddressAsInt()
           
 void setVirtualAddress(int virtualAddress)
          Set the virtual memory address associated with this sector.
 
Methods inherited from interface com.sun.squawk.peripheral.INorFlashSector
erase, getBytes, getErasedValue, getPurpose, getSize, getStartAddress, setBytes
 

Method Detail

setVirtualAddress

void setVirtualAddress(int virtualAddress)
Set the virtual memory address associated with this sector.

Parameters:
virtualAddress - The new virtual memory address

getVirtualStartAddressAsInt

int getVirtualStartAddressAsInt()
Returns:
The virtual address associated with this sector.

getSectorNumber

int getSectorNumber()
Returns:
The unique sector number associated with this sector.

getStartAddressAsInt

int getStartAddressAsInt()
Returns:
The physical memory address of the start of this sector.

SunSPOT API V3.0


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