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. |
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.