GNU Radio's SATELLITES Package

ra_lfsr.h
Go to the documentation of this file.
1/* -*- c -*- */
2/*
3 * Copyright 2015-2019 Miklos Maroti
4 * Copyright 2019 Daniel Estevez <daniel@destevez.net> (reentrant version)
5 *
6 * This file is part of gr-satellites
7 *
8 * SPDX-License-Identifier: GPL-3.0-or-later
9 *
10 */
11
12#ifndef RA_LFSR_H
13#define RA_LFSR_H
14
15#include "ra_config.h"
16
17#ifdef __cplusplus
18 extern "C" {
19#endif
20
21 void ra_lfsr_init(struct ra_context* ctx, uint8_t seqno);
22 ra_index_t ra_lfsr_next(struct ra_context* ctx);
23 ra_index_t ra_lfsr_prev(struct ra_context* ctx);
24
25#ifdef __cplusplus
26}
27#endif
28
29#endif // RA_LFSR_H
ra_config.h
ra_index_t
uint16_t ra_index_t
Definition ra_config.h:22
ra_lfsr_prev
ra_index_t ra_lfsr_prev(struct ra_context *ctx)
ra_lfsr_next
ra_index_t ra_lfsr_next(struct ra_context *ctx)
ra_lfsr_init
void ra_lfsr_init(struct ra_context *ctx, uint8_t seqno)
ra_context
Definition ra_config.h:37