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.
Dependencies: mbed QEI HIDScope biquadFilter MODSERIAL FastPWM
Diff: global.h
- Branch:
- Branch2
- Revision:
- 64:5a6bf0cd1c50
- Parent:
- 61:4c7de1e2f9fe
- Child:
- 66:fa7171cf3f67
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/global.h Wed Oct 16 10:58:23 2019 +0000 @@ -0,0 +1,22 @@ +//Don't forget to call this file (global.h) where these values are used +#ifndef global_h +#define global_h + + extern const float PI; + extern const float Ts; + + //Define Controller structures, shorthand: Set_ + extern struct ControllerSettings Set_LPFEMG; + extern struct ControllerSettings Set_NOTEMG; + //-- + extern struct ControllerSettings Set_Base; //Controller base + extern struct ControllerSettings Set_EndAffector; //Controller end affector + + //Define Memory cells of the Input/Output, shorthand: Mem_ + extern struct MemoryIO Mem_LPFEMG; + extern struct MemoryIO Mem_NOTEMG; + //-- + extern struct MemoryIO Mem_Base; + extern struct MemoryIO Mem_EndAffector; + +#endif \ No newline at end of file