/* SECU-3  - An open source, free engine control unit
   Copyright (C) 2007 Alexey A. Shabelnikov. Ukraine, Kiev

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.

   contacts:
              http://secu-3.org
              email: shabelnikov@secu-3.org
*/

/** \file SECU3Types.h
 * \author Alexey A. Shabelnikov
 */

#ifndef _SECU3_TYPES_H_
#define _SECU3_TYPES_H_

namespace SECU3IO {


//Data types used in SECU-3 firmware
namespace SECU3Types {

typedef unsigned short _uint;           //uint16
typedef signed short   _int;            // int16
typedef signed long    _long;           // int32
typedef unsigned long  _ulong;          //uint32
typedef signed char    _char;           // int8
typedef unsigned char  _uchar;          //uint8
typedef unsigned short _fnptr_t;        //function pointers

}

}

#endif //_SECU3_TYPES_H_
