mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-04 12:24:11 +01:00
acadc4bc28
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1955 ebee16cc-31ac-478f-84a7-5cbb03baadba
20 lines
478 B
C
20 lines
478 B
C
|
|
#ifndef _crc_H
|
|
#define _crc_H
|
|
|
|
#include "stm32f10x.h"
|
|
|
|
// ********************************************************************
|
|
|
|
uint16_t UpdateCRC16(uint16_t crc, uint8_t b);
|
|
uint16_t UpdateCRC16Data(uint16_t crc, void *data, uint32_t len);
|
|
|
|
uint32_t UpdateCRC32(uint32_t crc, uint8_t b);
|
|
uint32_t UpdateCRC32Data(uint32_t crc, void *data, uint32_t len);
|
|
|
|
void CRC_init(void);
|
|
|
|
// ********************************************************************
|
|
|
|
#endif
|