/*********************************/
/* C header for the ALARM module */
/*********************************/

#define DISPLAY_LOADED

/***** The MAIN_DISPLAY_TYPE type and its copy function *****/

typedef struct {char hours[3]; 
                char minutes[3];
                char seconds [3];
                char timemode[4];} MAIN_DISPLAY_TYPE;


#define _MAIN_DISPLAY_TYPE(X,Y) (*(X)=(Y))

/***** The MINI_DISPLAY_TYPE type and its copy function *****/

typedef struct {char fst[3];
                char sep[2];
                char snd[3];} MINI_DISPLAY_TYPE;


#define _MINI_DISPLAY_TYPE(X,Y) (*(X)=(Y))

/***** The DISPLAY_POSITION type and its copy function *****/

typedef int DISPLAY_POSITION;

#define _DISPLAY_POSITION(X,Y) (*(X)=(Y))

/***** Loading auxiliary definition files ****/

#ifndef WATCH_LOADED
#include "watch.h"
#endif

#ifndef STOPWATCH_LOADED
#include "stopwatch.h"
#endif

#ifndef ALARM_LOADED
#include "alarm.h"
#endif
