127 uint32_t
stat (
void)
const;
128 uint32_t
poly (
void)
const;
129 uint32_t
mask (
void)
const;
130 uint32_t
hbit (
void)
const;
131 int degr (
void)
const;
203 for (
int i = 0; i <
_degr; i++)
217 for (
int h =
_hbit; h; h >>= 1)
233 bit = (
_stat & 1) ^ b;
Definition: prbsgen.h:111
uint32_t stat(void) const
Definition: prbsgen.h:251
uint32_t _mask
Definition: prbsgen.h:139
Definition: prbsgen.h:109
int degr(void) const
Definition: prbsgen.h:259
Definition: prbsgen.h:107
Definition: prbsgen.h:114
~Prbsgen(void)
Definition: prbsgen.h:152
uint32_t _poly
Definition: prbsgen.h:138
uint32_t hbit(void) const
Definition: prbsgen.h:257
Definition: prbsgen.h:108
void set_stat(uint32_t stat)
Definition: prbsgen.h:175
int _degr
Definition: prbsgen.h:141
Definition: prbsgen.h:110
Definition: prbsgen.h:113
int crc_out(void)
Definition: prbsgen.h:239
Definition: prbsgen.h:112
int step(void)
Definition: prbsgen.h:185
void sync_back(uint32_t bits)
Definition: prbsgen.h:212
void sync_forw(uint32_t bits)
Definition: prbsgen.h:199
uint32_t _stat
Definition: prbsgen.h:137
uint32_t poly(void) const
Definition: prbsgen.h:253
uint32_t mask(void) const
Definition: prbsgen.h:255
void crc_in(int b)
Definition: prbsgen.h:227
Prbsgen(void)
Definition: prbsgen.h:146
uint32_t _hbit
Definition: prbsgen.h:140
void set_poly(uint32_t poly)
Definition: prbsgen.h:157