|
1-Wire API for .NET Version 4.00
|
Memory bank class for the Scratchpad section of NVRAM iButtons and 1-Wire devices. More...
Inherits com::dalsemi::onewire::container::MemoryBankScratch.
Inherited by MemoryBankScratchCRC, MemoryBankScratchCRCPW, and MemoryBankScratchSHAEE.
Public Member Functions | |
| MemoryBankScratchEx (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. | |
Memory bank class for the Scratchpad section of NVRAM iButtons and 1-Wire devices.
| MemoryBankScratchEx | ( | 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.
Reimplemented in MemoryBankScratchCRCPW, and MemoryBankScratchSHAEE.
| 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.
Reimplemented in MemoryBankScratchCRCPW, MemoryBankScratchSHA, and MemoryBankScratchSHAEE.
1.7.3