---
name: "crc7_be"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/crc7_be"
---

# crc7\_be(9)

update the CRC7 for the data buffer

## NAME

crc7\_be - update the CRC7 for the data buffer

## SYNOPSIS

**u8 crc7\_be(u8** *crc***, const u8 \*** *buffer***, size\_t** *len***);**

## ARGUMENTS

*crc*

previous CRC7 value

*buffer*

data pointer

*len*

number of bytes in the buffer

## CONTEXT

any

## DESCRIPTION

Returns the updated CRC7 value. The CRC7 is left-aligned in the byte (the lsbit is always 0), as that makes the computation easier, and all callers want it in that form.

## COPYRIGHT
