android13/hardware/rockchip/sensor/st/akm09911/CustomerSpec.h

57 lines
1.9 KiB
C
Executable File

/******************************************************************************
*
* $Id: CustomerSpec.h 982 2013-02-08 04:20:37Z miyazaki.hr $
*
* -- Copyright Notice --
*
* Copyright (c) 2004 Asahi Kasei Microdevices Corporation, Japan
* All Rights Reserved.
*
* This software program is the proprietary program of Asahi Kasei Microdevices
* Corporation("AKM") licensed to authorized Licensee under the respective
* agreement between the Licensee and AKM only for use with AKM's electronic
* compass IC.
*
* THIS SOFTWARE IS PROVIDED TO YOU "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABLITY, FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT OF
* THIRD PARTY RIGHTS, AND WE SHALL NOT BE LIABLE FOR ANY LOSSES AND DAMAGES
* WHICH MAY OCCUR THROUGH USE OF THIS SOFTWARE.
*
* -- End Asahi Kasei Microdevices Copyright Notice --
*
******************************************************************************/
#ifndef AKMD_INC_CUSTOMERSPEC_H
#define AKMD_INC_CUSTOMERSPEC_H
/*******************************************************************************
User defines parameters.
******************************************************************************/
// Certification information
#define CSPEC_CI_LICENSER "ASAHIKASEI"
#define CSPEC_CI_LICENSEE "Asus_11_JB_RC"
// Parameters for Average
// The number of magnetic data block to be averaged.
// NBaveh*(*nh) must be 1, 2, 4, 8 or 16.
#define CSPEC_HNAVE 8
// Parameters for Direction Calculation
#define CSPEC_DVEC_X 0
#define CSPEC_DVEC_Y 0
#define CSPEC_DVEC_Z 0
// The number of formation
#define CSPEC_NUM_FORMATION 2
// the counter of Suspend
#define CSPEC_CNTSUSPEND_SNG 8
// Setting file
#define CSPEC_SETTING_FILE "/data/misc/akmd_set.txt"
#define CSPEC_PDC_FILE "/data/misc/pdc.txt"
#endif //AKMD_INC_CUSTOMERSPEC_H