![]() |
0.01.00
|
This class implements CRC16 computations. More...
#include <src/core/common/crc16.hpp>
Public Types | |
| enum | Polynomial { kCcitt = 0x1021, kAnsi = 0x8005 } |
Public Member Functions | |
| Crc16 (Polynomial aPolynomial) | |
| This constructor initializes the object. More... | |
| void | Init (void) |
| This method initializes the CRC16 computation. | |
| void | Update (uint8_t aByte) |
| uint16_t | Get (void) const |
| This method gets the current CRC16 value. More... | |
This class implements CRC16 computations.
| ot::Crc16::Crc16 | ( | Polynomial | aPolynomial | ) |
This constructor initializes the object.
| [in] | aPolynomial | The polynomial value. |
|
inline |
This method gets the current CRC16 value.