nav_utils.h

Go to the documentation of this file.
00001 /*This file is prepared for Doxygen automatic documentation generation.*/
00012 
00013 /* Copyright (c) 2009 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  * 4. This software may only be redistributed and used in connection with an Atmel
00029  * AVR product.
00030  *
00031  * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
00032  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
00033  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE EXPRESSLY AND
00034  * SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT,
00035  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00036  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00037  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
00038  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00039  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
00040  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00041  */
00042 
00043 #ifndef _NAV_UTILS_H_
00044 #define _NAV_UTILS_H_
00045 
00046 //_____ I N C L U D E S ____________________________________________________
00047 
00048 
00049 #include "config.h"
00050 #include "modules/file_system/fat.h"
00051 #include "modules/file_system/fs_com.h"
00052 #include "modules/file_system/navigation.h"
00053 
00054 //_____ M A C R O S ________________________________________________________
00055 
00056 //_____ D E C L A R A T I O N S ____________________________________________
00057 
00058 #ifndef MAX_FILE_LENGHT
00059    #warning MAX_FILE_LENGHT not defined in config file, using default
00060    #define MAX_FILE_LENGHT 30
00061 #endif
00062 
00063 
00064 #ifdef __GNUC__
00065 U8 goto_code_name(U8 *str, Bool b_case_sensitive, Bool b_create);
00066 void str_code_to_str_ram(U8 string_code[],U8 str_ram[MAX_FILE_LENGHT]);
00067 Bool copy_dir( U8 string_src[], U8 string_dst[], Bool b_print  );
00068 #else
00069 U8 goto_code_name(U8 code *str, Bool b_case_sensitive, Bool b_create);
00070 void str_code_to_str_ram(U8 code string_code[],U8 str_ram[MAX_FILE_LENGHT]);
00071 Bool copy_dir( U8 code string_src[], U8 code string_dst[], Bool b_print  );
00072 #endif
00073 
00074 #endif /* _NAV_UTILS_H_ */

Generated on Wed Sep 23 09:17:02 2009 for ATMEL by  doxygen 1.5.3