Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: transition.h
- Revision:
- 0:6477530de2c0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/transition.h Fri Nov 27 21:43:33 2015 +0000 @@ -0,0 +1,9 @@ +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) {}; +};