Helper class for computing CRC-8 according to Dallas/Maxim specification for 1-wire protocol.
More...
|
| void | init () |
| | Re-sets the state machine for checksumming a new message.
|
| |
| uint8_t | get () |
| |
| bool | check_ok () |
| | Checks that the message has a correct CRC.
|
| |
| bool | check_ok (uint8_t checksum_byte) |
| | Checks that the message has a correct CRC.
|
| |
| void | update0 (uint8_t message_byte) |
| | Processes one byte of the incoming message.
|
| |
| void | update16 (uint8_t message_byte) |
| | Processes one byte of the incoming message.
|
| |
| void | update256 (uint8_t message_byte) |
| | Processes one byte of the incoming message.
|
| |
| void | update (uint8_t message_byte) |
| | Processes one byte of the incoming message.
|
| |
Helper class for computing CRC-8 according to Dallas/Maxim specification for 1-wire protocol.
This specification is used for BiDiB, RCN-218 and S-9.2.1.1.
This class can incrementally compute CRC byte by byte. There are three implementations available, with different code space requirements.
Definition at line 82 of file Crc.hxx.