Defines | Functions

lib/rf_test/pn9.c File Reference

Implementation of a PN9 Generator. More...

#include "pn9.h"

Go to the source code of this file.

Defines

#define pn9_bit5   0x08
#define pn9_bit9   0x80

Functions

void pn9_init (void)
uint8_t pn9_get_byte (void)

Detailed Description

Implementation of a PN9 Generator.

Uses PN9 to generate a pseudo-random number sequence. The LFSR uses x^9 + x^5 as the primitive polynom.

Definition in file pn9.c.


Define Documentation

#define pn9_bit5   0x08

Definition at line 24 of file pn9.c.

#define pn9_bit9   0x80

Definition at line 25 of file pn9.c.