These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!
Diff: EMAC/EmacRaw/crc32.h
- Revision:
- 0:bf7b9fba3924
diff -r 000000000000 -r bf7b9fba3924 EMAC/EmacRaw/crc32.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/EMAC/EmacRaw/crc32.h Sun Mar 20 05:38:56 2011 +0000 @@ -0,0 +1,24 @@ +/***************************************************************************** + * crc32.h: Ethernet CRC module file for NXP LPC230x Family Microprocessors + * + * Copyright(C) 2006, NXP Semiconductor + * All rights reserved. + * + * History + * 2006.09.01 ver 1.00 Prelimnary version, first Release + * +******************************************************************************/ +#ifndef __CRC32_H +#define __CRC32_H + +#include "lpc_types.h" + +void crc32_init(uint32_t *pCRC); +void crc32_add(uint32_t *pCRC, uint8_t val8); +void crc32_end(uint32_t *pCRC); +uint32_t crc32_bfr(void *pBfr, uint32_t size); +uint32_t do_crc_behav( long long Addr ); + +#endif + +/*-----------------------------------------------------------*/