Rtos API example

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers flash_journal_crc.h Source File

flash_journal_crc.h

00001 /**********************************************************************
00002  *
00003  * Filename:    flash_journal_crc.h.h
00004  *
00005  * Description: A header file describing the various CRC standards.
00006  *
00007  * Notes:
00008  *
00009  *
00010  * Copyright (c) 2000 by Michael Barr.  This software is placed into
00011  * the public domain and may be used for any purpose.  However, this
00012  * notice must not be changed or removed and no warranty is either
00013  * expressed or implied by its publication or distribution.
00014  **********************************************************************/
00015 
00016 #ifndef _flash_journal_crc_h
00017 #define _flash_journal_crc_h
00018 
00019 #include <inttypes.h>
00020 
00021 #ifdef __cplusplus
00022 extern "C" {
00023 #endif
00024 
00025 typedef uint32_t  flash_journal_crc32_t;
00026 
00027 void flashJournalCrcReset(void);
00028 flash_journal_crc32_t flashJournalCrcCummulative(unsigned char const message[], int nBytes);
00029 
00030 #ifdef __cplusplus
00031 }
00032 #endif
00033 
00034 #endif /* _flash_journal_crc_h */