C API for BALTECH SDK

§ brp_Lg_MakeMIMCRC()

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.

Parameters
[in]protocolused to execute the command
[in]AdrAddress of block to use for CRC calculation.
[in]LenNumber of Bytes included in CRC calculation.
[in]CRCAdrAddress of the calculated CRC checksum.
Deprecated:
This command may be removed in future!