These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!
EMAC/EmacRaw/crc32.h@0:bf7b9fba3924, 2011-03-20 (annotated)
- Committer:
- frank26080115
- Date:
- Sun Mar 20 05:38:56 2011 +0000
- Revision:
- 0:bf7b9fba3924
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
frank26080115 | 0:bf7b9fba3924 | 1 | /***************************************************************************** |
frank26080115 | 0:bf7b9fba3924 | 2 | * crc32.h: Ethernet CRC module file for NXP LPC230x Family Microprocessors |
frank26080115 | 0:bf7b9fba3924 | 3 | * |
frank26080115 | 0:bf7b9fba3924 | 4 | * Copyright(C) 2006, NXP Semiconductor |
frank26080115 | 0:bf7b9fba3924 | 5 | * All rights reserved. |
frank26080115 | 0:bf7b9fba3924 | 6 | * |
frank26080115 | 0:bf7b9fba3924 | 7 | * History |
frank26080115 | 0:bf7b9fba3924 | 8 | * 2006.09.01 ver 1.00 Prelimnary version, first Release |
frank26080115 | 0:bf7b9fba3924 | 9 | * |
frank26080115 | 0:bf7b9fba3924 | 10 | ******************************************************************************/ |
frank26080115 | 0:bf7b9fba3924 | 11 | #ifndef __CRC32_H |
frank26080115 | 0:bf7b9fba3924 | 12 | #define __CRC32_H |
frank26080115 | 0:bf7b9fba3924 | 13 | |
frank26080115 | 0:bf7b9fba3924 | 14 | #include "lpc_types.h" |
frank26080115 | 0:bf7b9fba3924 | 15 | |
frank26080115 | 0:bf7b9fba3924 | 16 | void crc32_init(uint32_t *pCRC); |
frank26080115 | 0:bf7b9fba3924 | 17 | void crc32_add(uint32_t *pCRC, uint8_t val8); |
frank26080115 | 0:bf7b9fba3924 | 18 | void crc32_end(uint32_t *pCRC); |
frank26080115 | 0:bf7b9fba3924 | 19 | uint32_t crc32_bfr(void *pBfr, uint32_t size); |
frank26080115 | 0:bf7b9fba3924 | 20 | uint32_t do_crc_behav( long long Addr ); |
frank26080115 | 0:bf7b9fba3924 | 21 | |
frank26080115 | 0:bf7b9fba3924 | 22 | #endif |
frank26080115 | 0:bf7b9fba3924 | 23 | |
frank26080115 | 0:bf7b9fba3924 | 24 | /*-----------------------------------------------------------*/ |