Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
crc16 Class Reference
CRC16. More...
#include <crc16.h>
Inherits frame_check_sequence< etl::crc_policy_16 >.
Public Member Functions | |
crc16 () | |
Default constructor. | |
template<typename TIterator > | |
crc16 (TIterator begin, const TIterator end) | |
Constructor from range. | |
void | reset () |
Resets the FCS to the initial state. | |
void | add (TIterator begin, const TIterator end) |
Adds a range. | |
void | add (uint8_t value_) |
value_type | value () |
Gets the FCS value. | |
operator value_type () | |
Conversion operator to value_type. |
Detailed Description
CRC16.
Definition at line 82 of file crc16.h.
Constructor & Destructor Documentation
crc16 | ( | TIterator | begin, |
const TIterator | end | ||
) |
Member Function Documentation
void add | ( | TIterator | begin, |
const TIterator | end | ||
) | [inherited] |
void add | ( | uint8_t | value_ ) | [inherited] |
- Parameters:
-
value The uint8_t to add to the FCS.
Definition at line 108 of file frame_check_sequence.h.
operator value_type | ( | ) | [inherited] |
Conversion operator to value_type.
Definition at line 124 of file frame_check_sequence.h.
void reset | ( | ) | [inherited] |
Resets the FCS to the initial state.
Definition at line 84 of file frame_check_sequence.h.
value_type value | ( | ) | [inherited] |
Gets the FCS value.
Definition at line 116 of file frame_check_sequence.h.
Generated on Tue Jul 12 2022 14:05:49 by
