test

Dependencies:   BMI160 max32630hsp3 MemoryLCD USBDevice

Committer:
seyhmus.cacina
Date:
Mon Mar 18 10:21:53 2019 +0300
Revision:
0:ac4dea3e2894
ME11B Sample Code First Commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
seyhmus.cacina 0:ac4dea3e2894 1 /*
seyhmus.cacina 0:ac4dea3e2894 2 * cmdInterface.h
seyhmus.cacina 0:ac4dea3e2894 3 *
seyhmus.cacina 0:ac4dea3e2894 4 * Created on: Jan 30, 2019
seyhmus.cacina 0:ac4dea3e2894 5 * Author: Yagmur.Gok
seyhmus.cacina 0:ac4dea3e2894 6 */
seyhmus.cacina 0:ac4dea3e2894 7
seyhmus.cacina 0:ac4dea3e2894 8 #ifndef SOURCE_CMDUI_CMDINTERFACE_H_
seyhmus.cacina 0:ac4dea3e2894 9 #define SOURCE_CMDUI_CMDINTERFACE_H_
seyhmus.cacina 0:ac4dea3e2894 10
seyhmus.cacina 0:ac4dea3e2894 11 #define COMM_SUCCESS 0
seyhmus.cacina 0:ac4dea3e2894 12 #define COMM_GENERAL_ERROR -1
seyhmus.cacina 0:ac4dea3e2894 13 #define COMM_INVALID_PARAM -254
seyhmus.cacina 0:ac4dea3e2894 14 #define COMM_NOT_RECOGNIZED -255
seyhmus.cacina 0:ac4dea3e2894 15
seyhmus.cacina 0:ac4dea3e2894 16 #define FLASH_ERR_GENERAL -1
seyhmus.cacina 0:ac4dea3e2894 17 #define FLASH_ERR_CHECKSUM -2
seyhmus.cacina 0:ac4dea3e2894 18 #define FLASH_ERR_AUTH -3
seyhmus.cacina 0:ac4dea3e2894 19
seyhmus.cacina 0:ac4dea3e2894 20
seyhmus.cacina 0:ac4dea3e2894 21
seyhmus.cacina 0:ac4dea3e2894 22
seyhmus.cacina 0:ac4dea3e2894 23 enum{
seyhmus.cacina 0:ac4dea3e2894 24 HOSTMODEAPPLICATION = 0,
seyhmus.cacina 0:ac4dea3e2894 25 HOSTMODEBOOTLOADER = 1
seyhmus.cacina 0:ac4dea3e2894 26 };
seyhmus.cacina 0:ac4dea3e2894 27
seyhmus.cacina 0:ac4dea3e2894 28 enum{
seyhmus.cacina 0:ac4dea3e2894 29 HOSTCOMMMODE_ECHO_OFF = 0,
seyhmus.cacina 0:ac4dea3e2894 30 HOSTCOMMMODE_ECHO_ON = 1,
seyhmus.cacina 0:ac4dea3e2894 31 };
seyhmus.cacina 0:ac4dea3e2894 32
seyhmus.cacina 0:ac4dea3e2894 33
seyhmus.cacina 0:ac4dea3e2894 34
seyhmus.cacina 0:ac4dea3e2894 35 void cmdIntf_build_command(char ch);
seyhmus.cacina 0:ac4dea3e2894 36 uint8_t get_internal_operating_mode(void);
seyhmus.cacina 0:ac4dea3e2894 37
seyhmus.cacina 0:ac4dea3e2894 38
seyhmus.cacina 0:ac4dea3e2894 39 #endif /* SOURCE_CMDUI_CMDINTERFACE_H_ */
seyhmus.cacina 0:ac4dea3e2894 40