aroarfw
|
00001 //types.h: 00002 00003 /* 00004 * Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2010-2012 00005 * 00006 * This file is part of aroarfw, a RoarAudio framework for 00007 * embedded systems (µControlers). 00008 * 00009 * This file is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License version 3 00011 * or (at your option) any later version as published by 00012 * the Free Software Foundation. 00013 * 00014 * aroarfw is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this software; see the file COPYING. If not, write to 00021 * the Free Software Foundation, 51 Franklin Street, Fifth Floor, 00022 * Boston, MA 02110-1301, USA. 00023 */ 00024 00025 #ifndef _AROARFW_TYPES_H_ 00026 #define _AROARFW_TYPES_H_ 00027 00028 #include <stdint.h> 00029 00031 typedef uint16_t rcid_t; 00032 00034 typedef uint16_t rsid_t; 00035 00037 typedef uint32_t rpos_t; 00038 00040 typedef uint32_t rpid_t; 00041 00043 typedef enum { 00044 // Invalid value 00045 RIODIR_INVALID = 0xFF, 00047 RIODIR_NONE = 0x00, 00049 RIODIR_IN = 0x01, 00051 RIODIR_OUT = 0x02, 00053 RIODIR_INOUT = RIODIR_IN|RIODIR_OUT 00054 } riodir_t; 00055 00056 #endif 00057 00058 //ll