nav_utils.h

Go to the documentation of this file.
00001 /*This file has been prepared for Doxygen automatic documentation generation.*/
00012 
00013 /* Copyright (c) 2007, Atmel Corporation All rights reserved.
00014  *
00015  * Redistribution and use in source and binary forms, with or without
00016  * modification, are permitted provided that the following conditions are met:
00017  *
00018  * 1. Redistributions of source code must retain the above copyright notice,
00019  * this list of conditions and the following disclaimer.
00020  *
00021  * 2. Redistributions in binary form must reproduce the above copyright notice,
00022  * this list of conditions and the following disclaimer in the documentation
00023  * and/or other materials provided with the distribution.
00024  *
00025  * 3. The name of ATMEL may not be used to endorse or promote products derived
00026  * from this software without specific prior written permission.
00027  *
00028  * THIS SOFTWARE IS PROVIDED BY ATMEL ``AS IS'' AND ANY EXPRESS OR IMPLIED
00029  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
00030  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE EXPRESSLY AND
00031  * SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT,
00032  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00033  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00034  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
00035  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00036  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
00037  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00038  */
00039 
00040 #ifndef _NAV_UTILS_H_
00041 #define _NAV_UTILS_H_
00042 
00043 //_____ I N C L U D E S ____________________________________________________
00044 
00045 
00046 #include "config.h"
00047 #include "modules/file_system/fat.h"
00048 #include "modules/file_system/fs_com.h"
00049 #include "modules/file_system/navigation.h"
00050 
00051 //_____ M A C R O S ________________________________________________________
00052 
00053 //_____ D E C L A R A T I O N S ____________________________________________
00054 
00055 #ifndef MAX_FILE_LENGHT
00056    #warning MAX_FILE_LENGHT not defined in config file, using default
00057    #define MAX_FILE_LENGHT 30
00058 #endif
00059 
00060 
00061 #ifdef __GNUC__
00062 U8 goto_code_name(U8 *str, Bool b_case_sensitive, Bool b_create);
00063 void str_code_to_str_ram(U8 string_code[],U8 str_ram[MAX_FILE_LENGHT]);
00064 Bool copy_dir( U8 string_src[], U8 string_dst[], Bool b_print  );
00065 #else
00066 U8 goto_code_name(U8 code *str, Bool b_case_sensitive, Bool b_create);
00067 void str_code_to_str_ram(U8 code string_code[],U8 str_ram[MAX_FILE_LENGHT]);
00068 Bool copy_dir( U8 code string_src[], U8 code string_dst[], Bool b_print  );
00069 #endif
00070 
00071 #endif /* _NAV_UTILS_H_ */

Generated on Fri May 15 15:41:36 2009 for ATMEL by  doxygen 1.5.3