#ifndef GENERIC_TYPE_DEFS_H
#define GENERIC_TYPE_DEFS_H
#include "Arduino.h"

typedef unsigned long dword;
typedef unsigned long uint32;

typedef union
{
  uint32 val;
  word w[2];
  byte v[4];
  struct
  {
    word lw;
    word hw;
  } wd;
  struct
  {
    byte lb;
    byte hb;
    byte ub;
    byte mb;
  } bt;
} DWORD_VAL;

#endif // GENERIC_TYPE_DEFS_H
