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.
crc8_ccitt Class Reference
CRC8 CCITT. More...
#include <crc8_ccitt.h>
Inherits frame_check_sequence< etl::crc_policy_8_ccitt >.
Public Member Functions | |
| crc8_ccitt () | |
| Default constructor. | |
| template<typename TIterator > | |
| crc8_ccitt (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
CRC8 CCITT.
Definition at line 82 of file crc8_ccitt.h.
Constructor & Destructor Documentation
| crc8_ccitt | ( | ) |
Default constructor.
Definition at line 89 of file crc8_ccitt.h.
| crc8_ccitt | ( | TIterator | begin, |
| const TIterator | end | ||
| ) |
Constructor from range.
- Parameters:
-
begin Start of the range. end End of the range.
Definition at line 100 of file crc8_ccitt.h.
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
1.7.2