|
1-Wire API for .NET Version 4.00
|
Memory bank class for the Scratchpad section of SHA iButtons and 1-Wire devices. More...
Inherits com::dalsemi::onewire::container::MemoryBankScratchCRC.
Public Member Functions | |
| MemoryBankScratchSHA (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. | |
Static Public Attributes | |
| static final byte | ERASE_SCRATCHPAD_COMMAND = ( byte ) 0xC3 |
| Erase Scratchpad Command. | |
Memory bank class for the Scratchpad section of SHA iButtons and 1-Wire devices.
| MemoryBankScratchSHA | ( | OneWireContainer | ibutton | ) |
Memory bank contstuctor.
Requires reference to the OneWireContainer this memory bank resides on.
| 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 MemoryBankScratchEx.
1.7.3