59 for (
size_t i = 0; i < wordCount; ++i)
62 boost::uint32_t data = *words++;
63 m_crcValue =
calc8BitCRC32(m_crcValue, static_cast<boost::uint8_t>(data));
64 m_crcValue =
calc8BitCRC32(m_crcValue, static_cast<boost::uint8_t>(data >> 8));
65 m_crcValue =
calc8BitCRC32(m_crcValue, static_cast<boost::uint8_t>(data >> 16));
66 m_crcValue =
calc8BitCRC32(m_crcValue, static_cast<boost::uint8_t>(data >> 24));
68 m_crcValue =
calc5BitCRC32(m_crcValue, static_cast<boost::uint8_t>(registerAddress));