Struct crc8_autosar
Synopsis
#include "breeze/checksum/crc.hpp"
struct crc8_autosar
Description
Traits for the CRC-8 used by AUTOSAR (CRC-8/AUTOSAR).
- See
- crc.
Source
Lines 275-287 in breeze/checksum/crc.hpp.
struct crc8_autosar
{
typedef std::uint8_t value_type ;
static int const width = 8 ;
static value_type const poly = 0x2F ;
static value_type const init = 0xFF ;
static bool const reflect_in = false ;
static bool const reflect_out = false ;
static value_type const xor_out = 0xFF ;
static value_type const check = 0xDF ;
} ;