BALTECH Docs |
C API for BALTECH SDK
|
brp_errcode brp_Lg_MakeMIMCRC | ( | brp_protocol | protocol, |
unsigned | Adr, | ||
unsigned | Len, | ||
unsigned | CRCAdr | ||
) |
Create CRC checksum at CRCAdr for a data block of length Len present at address Adr.
Depending on the value of the CRCCalc flag given as a parameter in the brp_Lg_Select() command, either an 8-bit or 16-bit checksum will be created.
[in] | protocol | used to execute the command |
[in] | Adr | Address of block to use for CRC calculation. |
[in] | Len | Number of Bytes included in CRC calculation. |
[in] | CRCAdr | Address of the calculated CRC checksum. |