|
|
| crc16 () |
| | Default constructor.
|
| |
| template<typename TIterator > |
| | crc16 (TIterator begin, const TIterator end) |
| |
|
void | reset () |
| | Resets the CRC to the initial state.
|
| |
| template<typename TValue > |
| void | add (TValue value) |
| |
| void | add (uint8_t value) |
| |
| template<typename TIterator > |
| void | add (TIterator begin, const TIterator end) |
| |
|
value_type | value () const |
| | Gets the CRC value.
|
| |
| template<typename TValue > |
| crc16< ENDIANNESS > & | operator+= (TValue value) |
| |
|
| operator value_type () const |
| | Conversion operator to value_type.
|
| |
template<const int ENDIANNESS = endian::little>
class etl::crc16< ENDIANNESS >
Calculates CRC16 using polynomial 0x8005.
- Template Parameters
-
| ENDIANNESS | The endianness of the calculation for input types larger than uint8_t. Default = endian::little. |