|
.Base Property |
Top Previous Next |
Function: |
Sets/returns the base address of the EEPROM from which the area available to your application starts. |
Type: |
Word |
Value Range: |
1-<actual memory capacity>, default= <size of special configuration area>+1 |
See Also: |
Details
By default, the value returned by this property is the address of the first EEPROM location just above the special configuration area (for details see "Platform-dependent Programming Information" topic inside your platform specifications section). For example, if the size of the special configuration area on your platform is 8 bytes then stor.base will return 9 by default.
This Default value makes sure that your application won't overwrite MAC by mistake. When you are accessing EEPROM memory using stor.set or stor.get methods, you specify the start address. Actual physical address you access is start_address+stor.base.
If your application needs to change some parameters in the configuration area you can set the stor.base to 1- this way you will have access to the entire memory.