Home
last modified time | relevance | path

Searched refs:headCheckSum (Results 1 – 1 of 1) sorted by relevance

/developtools/hdc/src/common/
Duart.h55 uint32_t headCheckSum = 0; // head checksum member
78 oss << " headCheckSum:" << std::hex << headCheckSum; in ToDebugString()
109 size_t headCheckSumLen = sizeof(UartHead) - sizeof(headCheckSum); in UpdateCheckSum()
110 headCheckSum = std::accumulate(head, head + headCheckSumLen, 0u); in UpdateCheckSum()
117 size_t headCheckSumLen = sizeof(UartHead) - sizeof(headCheckSum); in ValidateHead()
118 return (headCheckSum == std::accumulate(head, head + headCheckSumLen, 0u)); in ValidateHead()