|
M1M3 Support System
|
CRC utility functions. More...
#include <CRC.h>
Static Public Member Functions | |
| static uint16_t | modbus (uint8_t *buffer, int32_t startIndex, int32_t length) |
| Calculates 16 bit Modbus CRC. | |
| static uint16_t | modbus (uint16_t *buffer, int32_t startIndex, int32_t length) |
| Calculates 16 bit Modbus CRC. | |
CRC utility functions.
|
static |
Calculates 16 bit Modbus CRC.
See (CRC calculator)[https://crccalc.com] for checks.
| buffer | data buffer |
| startIndex | start index |
| length | data lenght |
|
static |
Calculates 16 bit Modbus CRC.
See (CRC calculator)[https://crccalc.com] for checks.
| buffer | data buffer |
| startIndex | start index |
| length | data lenght |