/*
 * AMS_Errorcodes.h
 *
 *  Created on: Jun 16, 2022
 *      Author: max
 */

#ifndef INC_AMS_ERRORCODES_H_
#define INC_AMS_ERRORCODES_H_

#include "main.h"

#define AMS_ERROR_SLAVE_TIMEOUT 1
#define AMS_ERROR_SLAVE_PANIC 2
#define AMS_ERROR_SLAVE_FRAME_TIMEOUT 3
#define AMS_ERROR_SLAVE_TOO_FEW_TEMPS 4
#define AMS_ERROR_SHUNT_TIMEOUT 6
#define AMS_ERROR_MASTER_THRESH 7
#define AMS_ERRORARG_MASTER_THRESH_UT 0
#define AMS_ERRORARG_MASTER_THRESH_OT 1
#define AMS_ERRORARG_MASTER_THRESH_UV 2
#define AMS_ERRORARG_MASTER_THRESH_OV 3

#endif /* INC_AMS_ERRORCODES_H_ */
