/*
 * Including OSEK user typedefs, defines etc
 */

#ifndef _USERTYPES_H_
#define _USERTYPES_H_

#ifdef __cplusplus
extern "C" {
#endif

  extern unsigned short ind;

  typedef struct TagMYMsgA MSGATYPE;    /* User defined type for a message */
  struct TagMYMsgA {
    unsigned short value;
  };

  typedef struct TagMYMsgB MSGBTYPE;    /* User-defined type for a message */
  struct TagMYMsgB {
    TickType ts;                        /* user's defined time-stamp */
    unsigned short msg;                 /* message body */
  };

  /* include your code here */

#ifdef __cplusplus
}
#endif

#endif                                  /* _USERTYPES_H_ */
