GNU Radio 3.6.5 C++ API

fixed.h File Reference

#include <gr_core_api.h>

Go to the source code of this file.

Defines

#define DTYPE   unsigned char
#define MODNN(x)   mod255(x)
#define MM   8
#define NN   255
#define ALPHA_TO   CCSDS_alpha_to
#define INDEX_OF   CCSDS_index_of
#define GENPOLY   CCSDS_poly
#define NROOTS   32
#define FCR   112
#define PRIM   11
#define IPRIM   116
#define A0   (NN)
#define ENCODE_RS   encode_rs_8
#define DECODE_RS   decode_rs_8

Functions

static int mod255 (int x)
GR_CORE_API void ENCODE_RS (DTYPE *data, DTYPE *parity)
GR_CORE_API int DECODE_RS (DTYPE *data, int *eras_pos, int no_eras)

Variables

unsigned char CCSDS_alpha_to []
unsigned char CCSDS_index_of []
unsigned char CCSDS_poly []

Define Documentation

#define A0   (NN)
#define ALPHA_TO   CCSDS_alpha_to
#define DECODE_RS   decode_rs_8
#define DTYPE   unsigned char
#define ENCODE_RS   encode_rs_8
#define FCR   112
#define GENPOLY   CCSDS_poly
#define INDEX_OF   CCSDS_index_of
#define IPRIM   116
#define MM   8
#define MODNN (   x)    mod255(x)
#define NN   255
#define NROOTS   32
#define PRIM   11

Function Documentation

GR_CORE_API int DECODE_RS ( DTYPE *  data,
int *  eras_pos,
int  no_eras 
)
GR_CORE_API void ENCODE_RS ( DTYPE *  data,
DTYPE *  parity 
)
static int mod255 ( int  x) [inline, static]

Variable Documentation

unsigned char CCSDS_alpha_to[]
unsigned char CCSDS_index_of[]
unsigned char CCSDS_poly[]