no-OS
Toggle main menu visibility
Main Page
Related Pages
Structures
Structure List
Structure Index
Files
File List
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
include
no_os_crc24.h
Go to the documentation of this file.
1
/***************************************************************************/
33
#ifndef _NO_OS_CRC24_H_
34
#define _NO_OS_CRC24_H_
35
36
#include <stdint.h>
37
#include <stddef.h>
38
39
#define NO_OS_CRC24_TABLE_SIZE 256
40
41
#define NO_OS_DECLARE_CRC24_TABLE(_table) \
42
static uint32_t _table[NO_OS_CRC24_TABLE_SIZE]
41
#define NO_OS_DECLARE_CRC24_TABLE(_table) \
…
43
44
void
no_os_crc24_populate_msb
(uint32_t * table,
const
uint32_t polynomial);
45
uint32_t
no_os_crc24
(
const
uint32_t * table,
const
uint8_t *pdata,
46
size_t
nbytes,
47
uint32_t crc);
48
49
#endif
// _NO_OS_CRC24_H_
no_os_crc24
uint32_t no_os_crc24(const uint32_t *table, const uint8_t *pdata, size_t nbytes, uint32_t crc)
no_os_crc24_populate_msb
void no_os_crc24_populate_msb(uint32_t *table, const uint32_t polynomial)
Generated by
1.13.2