libosmocore 1.11.0.26-c59d.202505072026
Osmocom core library
|
Go to the source code of this file.
Data Structures | |
struct | osmo_prbs |
definition of a PRBS sequence More... | |
struct | osmo_prbs_state |
state of a given PRBS sequence generator More... | |
Functions | |
void | osmo_prbs_state_init (struct osmo_prbs_state *st, const struct osmo_prbs *prbs) |
Initialize the given caller-allocated PRBS state. | |
ubit_t | osmo_prbs_get_ubit (struct osmo_prbs_state *state) |
Get the next bit out of given PRBS instance. | |
int | osmo_prbs_get_ubits (ubit_t *out, unsigned int out_len, struct osmo_prbs_state *state) |
Fill buffer of unpacked bits with next bits out of given PRBS instance. | |
Variables | |
const struct osmo_prbs | osmo_prbs7 |
PRBS-7 according ITU-T O.150. | |
const struct osmo_prbs | osmo_prbs9 |
PRBS-9 according ITU-T O.150. | |
const struct osmo_prbs | osmo_prbs11 |
PRBS-11 according ITU-T O.150. | |
const struct osmo_prbs | osmo_prbs15 |
PRBS-15 according ITU-T O.150. | |
ubit_t osmo_prbs_get_ubit | ( | struct osmo_prbs_state * | state | ) |
Get the next bit out of given PRBS instance.
References osmo_prbs_process_bit(), osmo_prbs_state::state, and subsys.
Referenced by osmo_prbs_get_ubits().
Fill buffer of unpacked bits with next bits out of given PRBS instance.
References osmo_prbs_get_ubit(), and subsys.
Initialize the given caller-allocated PRBS state.
References subsys.