GNSS-SDR
0.0.13
An Open Source GNSS Software Defined Receiver
src
algorithms
telemetry_decoder
libs
libswiftcnav
edc.h
Go to the documentation of this file.
1
/*!
2
* \file edc.h
3
* \brief Utilities for CRC computation of the libswiftnav library
4
* \author Fergus Noble <fergus@swift-nav.com>
5
*
6
* -----------------------------------------------------------------------------
7
* This file was originally borrowed from libswiftnav
8
* <https://github.com/swift-nav/libswiftnav>,
9
* a portable C library implementing GNSS related functions and algorithms,
10
* and then modified by J. Arribas and C. Fernandez
11
*
12
* Copyright (C) 2010 Swift Navigation Inc.
13
* Contact: Fergus Noble <fergus@swift-nav.com>
14
*
15
* GNSS-SDR is a software defined Global Navigation
16
* Satellite Systems receiver
17
*
18
* This file is part of GNSS-SDR.
19
*
20
* SPDX-License-Identifier: LGPL-3.0-only
21
*.
22
*/
23
24
25
#ifndef GNSS_SDR_EDC_H
26
#define GNSS_SDR_EDC_H
27
28
#include "
swift_common.h
"
29
30
uint32_t crc24q(
const
uint8_t *buf, uint32_t len, uint32_t crc);
31
uint32_t crc24q_bits(uint32_t crc,
const
uint8_t *buf, uint32_t n_bits,
bool
invert);
32
33
#endif
/* GNSS_SDR_EDC_H_ */
swift_common.h
Common definitions used throughout the libswiftnav library.
Generated by
1.8.14