1 /* 2 * Copyright (c) 2015, Freescale Semiconductor, Inc. 3 * Copyright 2016-2017 NXP 4 * All rights reserved. 5 * 6 * SPDX-License-Identifier: BSD-3-Clause 7 */ 8 9 10 #ifndef CALSTORE_H 11 #define CALSTORE_H 12 13 14 /*! \file calibration_storage.h 15 \brief Provides functions to store calibration to NVM 16 17 Users who are not using NXP hardware will need to supply their own drivers 18 in place of those defined here. 19 */ 20 21 void SaveMagCalibrationToNVM(SensorFusionGlobals *sfg); 22 void SaveGyroCalibrationToNVM(SensorFusionGlobals *sfg); 23 void SaveAccelCalibrationToNVM(SensorFusionGlobals *sfg); 24 void EraseMagCalibrationFromNVM(void); 25 void EraseGyroCalibrationFromNVM(void); 26 void EraseAccelCalibrationFromNVM(void); 27 #endif 28