1 /****************************************************************************** 2 * $Id: AKFS_CSpec.h 580 2012-03-29 09:56:21Z yamada.rj $ 3 ****************************************************************************** 4 * 5 * Copyright (C) 2012 Asahi Kasei Microdevices Corporation, Japan 6 * 7 * Licensed under the Apache License, Version 2.0 (the "License"); 8 * you may not use this file except in compliance with the License. 9 * You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, software 14 * distributed under the License is distributed on an "AS IS" BASIS, 15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 * See the License for the specific language governing permissions and 17 * limitations under the License. 18 */ 19 #ifndef AKFS_INC_CSPEC_H 20 #define AKFS_INC_CSPEC_H 21 22 /******************************************************************************* 23 User defines parameters. 24 ******************************************************************************/ 25 /* Parameters for Average */ 26 /* The number of magnetic/acceleration data to be averaged. */ 27 #define CSPEC_HNAVE_D 4 28 #define CSPEC_ANAVE_D 4 29 #define CSPEC_HNAVE_V 8 30 #define CSPEC_ANAVE_V 8 31 32 #ifdef WIN32 33 #define CSPEC_SETTING_FILE "akmdfs.txt" 34 #else 35 #define CSPEC_SETTING_FILE "/data/misc/akmdfs.txt" 36 #endif 37 38 #endif 39 40