CIS541 / Mbed 2 deprecated Pacemaker_2

Dependencies:   mbed-rtos mbed

transition.h

Committer:
Huazhi
Date:
2015-11-27
Revision:
0:6477530de2c0

File content as of revision 0:6477530de2c0:

enum Sync {NONE, APACE, ASENSE, ASIGNAL, VPACE, VSENSE, VSIGNAL};
struct TRANS_T {
    bool active;
    int source;
    int dest;
    Sync syncid;
    TRANS_T(): active(false), source(-1), dest(-1), syncid(NONE){};
    TRANS_T(bool a, int b, int c, Sync d): active(a), source(b), dest(c), syncid(d) {};
};