|
1-Wire API for .NET Version 4.00
|
Memory bank class for the Scratchpad section of EEPROM iButtons and 1-Wire devices. More...
Inherits com::dalsemi::onewire::container::MemoryBankScratch.
Public Member Functions | |
| MemoryBankScratchEE (OneWireContainer ibutton) | |
| Memory bank contstuctor. | |
| void | writeScratchpad (int startAddr, byte[] writeBuf, int offset, int len) throws OneWireIOException, OneWireException |
| Write to the scratchpad page of memory a NVRAM device. | |
| void | copyScratchpad (int startAddr, int len) throws OneWireIOException, OneWireException |
| Copy the scratchpad page to memory. | |
Protected Attributes | |
| byte | COPY_DELAY_LEN |
| Copy Scratchpad Delay length. | |
| byte | ES_MASK |
| Mask for ES byte during copy scratchpad. | |
| int | numVerificationBytes = 1 |
| Number of bytes to read for verification (only last one will be checked). | |
Memory bank class for the Scratchpad section of EEPROM iButtons and 1-Wire devices.
| MemoryBankScratchEE | ( | OneWireContainer | ibutton | ) |
Memory bank contstuctor.
Requires reference to the OneWireContainer this memory bank resides on.
| void copyScratchpad | ( | int | startAddr, |
| int | len | ||
| ) | throws OneWireIOException, OneWireException |
Copy the scratchpad page to memory.
| startAddr | starting address |
| len | length in bytes that was written already |
| OneWireIOException | |
| OneWireException |
Reimplemented from MemoryBankScratch.
| void writeScratchpad | ( | int | startAddr, |
| byte[] | writeBuf, | ||
| int | offset, | ||
| int | len | ||
| ) | throws OneWireIOException, OneWireException |
Write to the scratchpad page of memory a NVRAM device.
| startAddr | starting address |
| writeBuf | byte array containing data to write |
| offset | offset into readBuf to place data |
| len | length in bytes to write |
| OneWireIOException | |
| OneWireException |
Reimplemented from MemoryBankScratch.
1.7.3