|
EepromSecureData
CRC-controlled EEPROM memory storage
|
iButton CRC template class More...
#include <CrcIButton.h>
Public Member Functions | |
| CrcIButton () | |
| Construct a new Crc I Button object. | |
| void | reset () |
| Reset CRC value. | |
| uint8_t | value () const |
| Get the value of CRC. More... | |
| void | update (const T &value) |
| Update CRC with a T value. More... | |
Static Public Attributes | |
| static const uint8_t | InitValue = 0x5A |
| Initial value of CRC. | |
iButton CRC template class
| T | Type of data to calculate CRC |
Definition at line 15 of file CrcIButton.h.
|
inline |
Update CRC with a T value.
| value | Value to update CRC |
Definition at line 47 of file CrcIButton.h.
References CrcIButton< T >::value().
|
inline |
Get the value of CRC.
Definition at line 38 of file CrcIButton.h.
Referenced by CrcIButton< T >::update().