GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
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  * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
8  * This file is part of GNSS-SDR.
9  *
10  * This file was originally borrowed from libswiftnav
11  * <https://github.com/swift-nav/libswiftnav>,
12  * a portable C library implementing GNSS related functions and algorithms,
13  * and then modified by J. Arribas and C. Fernandez
14  *
15  * Copyright (C) 2010 Swift Navigation Inc.
16  * Contact: Fergus Noble <fergus@swift-nav.com>
17  *
18  * SPDX-License-Identifier: LGPL-3.0-only
19  *
20  */
21 
22 
23 #ifndef GNSS_SDR_EDC_H
24 #define GNSS_SDR_EDC_H
25 
26 #include "swift_common.h"
27 
28 /** \addtogroup Telemetry_Decoder
29  * \{ */
30 /** \addtogroup Telemetry_Decoder_libswiftcnav
31  * \{ */
32 
33 
34 uint32_t crc24q(const uint8_t *buf, uint32_t len, uint32_t crc);
35 uint32_t crc24q_bits(uint32_t crc, const uint8_t *buf, uint32_t n_bits, bool invert);
36 
37 
38 /** \} */
39 /** \} */
40 #endif /* GNSS_SDR_EDC_H */
Common definitions used throughout the libswiftnav library.