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: BMI160 max32630hsp3 MemoryLCD USBDevice
Fork of Host_Software_MAX32664GWEC_SpO2_HR-_EXTE by
cmdUI/cmdInterface.h@0:b259fd1a88f5, 2019-03-18 (annotated)
- Committer:
- seyhmus.cacina
- Date:
- Mon Mar 18 14:09:48 2019 +0300
- Revision:
- 0:b259fd1a88f5
ME11C Sample Code First Commit
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| seyhmus.cacina | 0:b259fd1a88f5 | 1 | /* |
| seyhmus.cacina | 0:b259fd1a88f5 | 2 | * cmdInterface.h |
| seyhmus.cacina | 0:b259fd1a88f5 | 3 | * |
| seyhmus.cacina | 0:b259fd1a88f5 | 4 | * Created on: Jan 30, 2019 |
| seyhmus.cacina | 0:b259fd1a88f5 | 5 | * Author: Yagmur.Gok |
| seyhmus.cacina | 0:b259fd1a88f5 | 6 | */ |
| seyhmus.cacina | 0:b259fd1a88f5 | 7 | |
| seyhmus.cacina | 0:b259fd1a88f5 | 8 | #ifndef SOURCE_CMDUI_CMDINTERFACE_H_ |
| seyhmus.cacina | 0:b259fd1a88f5 | 9 | #define SOURCE_CMDUI_CMDINTERFACE_H_ |
| seyhmus.cacina | 0:b259fd1a88f5 | 10 | |
| seyhmus.cacina | 0:b259fd1a88f5 | 11 | #define COMM_SUCCESS 0 |
| seyhmus.cacina | 0:b259fd1a88f5 | 12 | #define COMM_GENERAL_ERROR -1 |
| seyhmus.cacina | 0:b259fd1a88f5 | 13 | #define COMM_INVALID_PARAM -254 |
| seyhmus.cacina | 0:b259fd1a88f5 | 14 | #define COMM_NOT_RECOGNIZED -255 |
| seyhmus.cacina | 0:b259fd1a88f5 | 15 | |
| seyhmus.cacina | 0:b259fd1a88f5 | 16 | #define FLASH_ERR_GENERAL -1 |
| seyhmus.cacina | 0:b259fd1a88f5 | 17 | #define FLASH_ERR_CHECKSUM -2 |
| seyhmus.cacina | 0:b259fd1a88f5 | 18 | #define FLASH_ERR_AUTH -3 |
| seyhmus.cacina | 0:b259fd1a88f5 | 19 | |
| seyhmus.cacina | 0:b259fd1a88f5 | 20 | void cmdIntf_build_command(char ch); |
| seyhmus.cacina | 0:b259fd1a88f5 | 21 | |
| seyhmus.cacina | 0:b259fd1a88f5 | 22 | |
| seyhmus.cacina | 0:b259fd1a88f5 | 23 | enum{ |
| seyhmus.cacina | 0:b259fd1a88f5 | 24 | HOSTMODEAPPLICATION = 0, |
| seyhmus.cacina | 0:b259fd1a88f5 | 25 | HOSTMODEBOOTLOADER = 1 |
| seyhmus.cacina | 0:b259fd1a88f5 | 26 | }; |
| seyhmus.cacina | 0:b259fd1a88f5 | 27 | |
| seyhmus.cacina | 0:b259fd1a88f5 | 28 | uint8_t get_internal_operating_mode(void); |
| seyhmus.cacina | 0:b259fd1a88f5 | 29 | |
| seyhmus.cacina | 0:b259fd1a88f5 | 30 | |
| seyhmus.cacina | 0:b259fd1a88f5 | 31 | #endif /* SOURCE_CMDUI_CMDINTERFACE_H_ */ |
| seyhmus.cacina | 0:b259fd1a88f5 | 32 |
