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: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
Diff: inc/global.h
- Revision:
- 9:ef0ca2f8a8a6
- Parent:
- 7:c0c03193612d
- Child:
- 15:a6ee32969e8e
--- a/inc/global.h Tue Sep 06 21:40:04 2016 +0000
+++ b/inc/global.h Tue Sep 06 22:09:39 2016 +0000
@@ -49,4 +49,18 @@
extern void func_cb_ntopt(int argc, char **argv);
extern mDot *GLOBAL_mdot;
+struct ModbusRegister {
+ std::string name;
+ std::string units;
+ double min;
+ double max;
+ int node;
+ int reg;
+ int rtype;
+ int type;
+ std::string fmt;
+};
+
+ extern std::map<std::string,ModbusRegister> ModbusRegisterMap;
+
#endif
\ No newline at end of file
