Test program with the RT black boxes

Dependencies:   mbed

PRBS.h

Committer:
pmic
Date:
5 months ago
Revision:
43:a577f752dd7a
Parent:
23:1d24b1033371

File content as of revision 43:a577f752dd7a:

class PRBS
{
public:

    PRBS(int n);

    float operator()() {
        return update();
    }

    virtual ~PRBS();

    void    reset();
    float   update();
    
    void     printPRBSind();
    void     printPRBSregister();

private:

    int     ii;
    int     n;
    int     Nprbs;
    int     *Register;
    int     Nind;
    int     *ind;

    void    getPrbsIndex(int n);
    void    printLine();

};