This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
component:eeprom [2015/01/14 23:40] 127.0.0.1 external edit |
component:eeprom [2017/05/25 02:01] (current) alexbuzzbee Clarify note on `getData()` |
||
---|---|---|---|
Line 14: | Line 14: | ||
- `setLabel(data:string)` | - `setLabel(data:string)` | ||
Set the label of the EEPROM. | Set the label of the EEPROM. | ||
+ | - `getSize():number` | ||
+ | Gets the maximum storage capacity of the EEPROM. | ||
+ | - `getDataSize():number` | ||
+ | Gets the maximum data storage capacity of the EEPROM. | ||
+ | - `getData():string` | ||
+ | Gets currently stored byte-array (usually the component address of the main boot device). | ||
+ | - `setData(data:string)` | ||
+ | Overwrites currently stored byte-array with specified string. | ||
+ | - `getChecksum():string` | ||
+ | Gets Checksum of data on EEPROM. | ||
+ | - `makeReadonly(checksum:string):boolean` | ||
+ | Makes the EEPROM Read-only if it isn't. This process cannot be reversed. | ||
---- | ---- | ||
{{page>component:contents&noheader&noeditbutton&nouser&nofooter}} | {{page>component:contents&noheader&noeditbutton&nouser&nofooter}} |