ME11C Sample Code in Maxim Integrated Team

Dependencies:   BMI160 max32630hsp3 MemoryLCD USBDevice

Fork of Host_Software_MAX32664GWEC_SpO2_HR-_EXTE by Seyhmus Cacina

cmdUI/cmdInterface.h

Committer:
seyhmuscacina
Date:
2019-03-25
Revision:
2:3b5d2467e6c7
Parent:
0:b259fd1a88f5

File content as of revision 2:3b5d2467e6c7:

/*
 * cmdInterface.h
 *
 *  Created on: Jan 30, 2019
 *      Author: Yagmur.Gok
 */

#ifndef SOURCE_CMDUI_CMDINTERFACE_H_
#define SOURCE_CMDUI_CMDINTERFACE_H_

#define COMM_SUCCESS        0
#define COMM_GENERAL_ERROR  -1
#define COMM_INVALID_PARAM  -254
#define COMM_NOT_RECOGNIZED -255

#define FLASH_ERR_GENERAL   -1
#define FLASH_ERR_CHECKSUM  -2
#define FLASH_ERR_AUTH      -3

void cmdIntf_build_command(char ch);


enum{
	HOSTMODEAPPLICATION = 0,
	HOSTMODEBOOTLOADER  = 1
};

uint8_t get_internal_operating_mode(void);


#endif /* SOURCE_CMDUI_CMDINTERFACE_H_ */