20 #ifndef XBEE_XMODEM_CRC16_H 21 #define XBEE_XMODEM_CRC16_H 33 #endif // XBEE_XMODEM_CRC16_H defined #define FAR
On platforms with "far" pointers, define to the proper keyword; empty definition if not required...
Definition: platform.h:396
#define XBEE_BEGIN_DECLS
Macro defined to.
Definition: platform.h:41
unsigned short uint16_t
16-bit unsigned integer
Definition: platform_config.h:41
#define XBEE_END_DECLS
Macro defined to.
Definition: platform.h:42
uint16_t crc16_calc(const void FAR *data, uint16_t length, uint16_t current)
Calculate CRC-16 of a data buffer using polynomial (0x1021) without reflection.
Definition: xmodem_crc16.c:82