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

44 lines
1.5 KiB
C
Executable File

/******************************************************************************
*
* $Id: AKManualCal.h 92 2012-11-30 11:54:41Z yamada.rj $
*
* -- 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 AKSC_INC_AKMANUALCAL_H
#define AKSC_INC_AKMANUALCAL_H
#include "AKMDevice.h"
//========================= Type declaration ===========================//
//========================= Constant definition =========================//
//========================= Prototype of Function =======================//
AKLIB_C_API_START
int16 AKSC_HOffsetCal( //(o) : Calibration success(1), failure(0)
const int16vec hdata[], //(i) : Geomagnetic vectors(the size must be 3)
int16vec* ho //(o) : Offset(5Q11)
);
AKLIB_C_API_END
#endif