1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00
LibrePilot/flight/PipXtreme/inc/crc.h
pip acadc4bc28 Added some files to the PipXtreme folder.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1955 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-10-13 07:49:05 +00:00

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