projekty/Source/example1/src/AsmUtils.c

Go to the documentation of this file.
00001 /*
00002  * $Id: armAsmUtils.c,v 1.00 2005/09/18 16:15:00 BorisK Exp $
00003  *
00004  * Copyright (C) 2007 ONTRACK s.r.o.
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA    
00019  * 02111-1307, USA.
00020  *
00021  * Written by Boris Kralik <kralikbo@yahoo.com>, 2007
00022  *
00023  */
00024 #ifndef ASMARMUTILS_C
00025 #define ASMARMUTILS_C
00026 
00027 #include        "AsmUtils.h"
00028 
00029 uint32_t        WriteToAddress(uint32_t address,uint8_t data)
00030 {
00031         uint32_t ret=0;
00032         asm volatile ("");
00033         return ret;
00034 }
00035 
00036 uint32_t        ReadFromAddress(uint32_t address)
00037 {
00038         uint32_t ret=0;
00039         asm volatile ("");
00040         return ret;
00041 }
00042 
00043 #endif

Generated on Fri Sep 21 13:41:54 2007 for example1 by  doxygen 1.4.7