Test program with the RT black boxes

Dependencies:   mbed

PRBS.h

Committer:
pmic
Date:
17 months ago
Revision:
23:1d24b1033371
Parent:
21:b3c07ac9b9ed

File content as of revision 23:1d24b1033371:

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();

};