#ifndef __MODESWITCH_H
#define __MODESWITCH_H




typedef enum MODESWITCH_mode_enum 
{
  MODE_MAINSWITCH = 0, 
  MODE_MAINSWITCH_SECONDARYPROTECTION = 1,
  MODE_MAINSWITCH_SECONDARYPROTECTION_PLUS = 2,
  MODE_MAINSWITCH_SECONDARYPROTECTION_AUTO_RETRY = 3,
  MODE_MAINSWITCH_SECONDARYPROTECTION_PLUS_AUTO_RETRY = 4,
  MODE_MAINSWITCH_LVP_OVP = 5,
  MODE_MAINSWITCH_LVP = 6, 
  MODE_MAINSWITCH_OVP = 7,
  
} MODESWITCH_mode_t;


MODESWITCH_mode_t MODESWITCH_ReadMode(void);
MODESWITCH_mode_t MODESWITCH_GetMode(void);






#endif
