/**
* Copyright (c) 2022 Bosch Sensortec GmbH. All rights reserved.
*
* BSD-3-Clause
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright
*    notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
*    notice, this list of conditions and the following disclaimer in the
*    documentation and/or other materials provided with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its
*    contributors may be used to endorse or promote products derived from
*    this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
* @file       bma456h.c
* @date       2022-07-01
* @version    V2.24.1
*
*/

/*! \file bma456h.c
 * \brief Sensor Driver for BMA456H sensor
 */

#include "bma456h.h"

/**\name Feature configuration file */
const uint8_t bma456h_config_file[] = {
    0xc8, 0x2e, 0x00, 0x2e, 0xc8, 0x2e, 0x00, 0x2e, 0xc8, 0x2e, 0x00, 0x2e, 0x80, 0x2e, 0xae, 0x00, 0x80, 0x2e, 0x6e,
    0x01, 0xc8, 0x2e, 0x00, 0x2e, 0xc8, 0x2e, 0x00, 0x2e, 0x80, 0x2e, 0x9a, 0x01, 0x50, 0x35, 0x21, 0x2e, 0xb0, 0xf0,
    0x10, 0x30, 0x21, 0x2e, 0x16, 0xf0, 0x80, 0x2e, 0xe7, 0x01, 0x8b, 0x50, 0x79, 0x52, 0x01, 0x42, 0x3b, 0x80, 0x41,
    0x30, 0x01, 0x42, 0x3c, 0x80, 0x00, 0x2e, 0x01, 0x40, 0x01, 0x42, 0x21, 0x2e, 0xff, 0xaf, 0xb8, 0x2e, 0x6d, 0x00,
    0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18,
    0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e,
    0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80,
    0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00,
    0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x1e, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x04, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0x2e, 0xb0, 0xf0, 0x10, 0x30,
    0xc0, 0x2e, 0x21, 0x2e, 0x16, 0xf0, 0x90, 0x50, 0xe5, 0x7f, 0xd7, 0x7f, 0xf6, 0x7f, 0x86, 0x30, 0x7b, 0x5a, 0x00,
    0x2e, 0x47, 0x41, 0x57, 0x43, 0x00, 0x2e, 0x47, 0x41, 0x47, 0x43, 0x00, 0x2e, 0x47, 0x41, 0xbe, 0x09, 0x2d, 0x2e,
    0x69, 0x00, 0x0d, 0x2e, 0x69, 0x00, 0x80, 0x91, 0x02, 0x2f, 0x46, 0x30, 0x2d, 0x2e, 0x5a, 0x00, 0x0d, 0x2e, 0x57,
    0xf0, 0x47, 0x30, 0x45, 0x41, 0x6f, 0x09, 0xd2, 0xba, 0x40, 0x91, 0x79, 0x5a, 0xb5, 0x09, 0x67, 0xbb, 0x2d, 0x2e,
    0x8c, 0x00, 0x0e, 0x2f, 0xc4, 0x7f, 0xb3, 0x7f, 0xa2, 0x7f, 0x91, 0x7f, 0x80, 0x7f, 0x7b, 0x7f, 0x98, 0x2e, 0x33,
    0xb5, 0x80, 0x6f, 0x91, 0x6f, 0xa2, 0x6f, 0xb3, 0x6f, 0xc4, 0x6f, 0x7b, 0x6f, 0x79, 0x5a, 0x2b, 0x2e, 0xb9, 0xf0,
    0xe5, 0x6f, 0xd7, 0x6f, 0xf6, 0x6f, 0x70, 0x5f, 0xc8, 0x2e, 0x01, 0x2e, 0x58, 0xf0, 0x01, 0x37, 0x01, 0x08, 0x00,
    0xb2, 0x10, 0x30, 0x03, 0x2f, 0x03, 0x2e, 0x5a, 0x00, 0x44, 0xb2, 0x01, 0x2f, 0x00, 0x30, 0xb8, 0x2e, 0xb8, 0x2e,
    0x01, 0x2e, 0x58, 0xf0, 0x79, 0x52, 0xc0, 0x2e, 0x01, 0x08, 0x07, 0xb8, 0x80, 0x2e, 0x18, 0x00, 0xfd, 0x2d, 0xcc,
    0x00, 0x05, 0x00, 0xcc, 0x00, 0x64, 0x00, 0x33, 0x01, 0xf6, 0x78, 0x85, 0x00, 0xcd, 0x6c, 0x07, 0x00, 0x9a, 0x79,
    0x33, 0x73, 0x5f, 0x05, 0xbe, 0x0a, 0x5f, 0x05, 0x96, 0xe8, 0xef, 0x41, 0x01, 0x00, 0x0d, 0x00, 0x0c, 0x00, 0x4a,
    0x00, 0xa0, 0x00, 0x00, 0x00, 0x03, 0x00, 0x3c, 0x0f, 0x00, 0x01, 0x01, 0x00, 0x03, 0x00, 0x01, 0x00, 0x08, 0x00,
    0x00, 0x00, 0x06, 0x00, 0x09, 0x00, 0x82, 0x00, 0x06, 0x00, 0x06, 0x00, 0x08, 0x00, 0x50, 0x00, 0x00, 0x00, 0x4c,
    0x04, 0x02, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x91, 0x41, 0x48, 0x40, 0x88, 0x00, 0x6c, 0x00,
    0x5f, 0x00, 0x6a, 0x00, 0x82, 0x00, 0x57, 0x00, 0x54, 0x00, 0x95, 0x00, 0xfc, 0x1f, 0x00, 0xe0, 0xff, 0x1f, 0x03,
    0x01, 0x01, 0x01, 0x55, 0xf0, 0x80, 0x00, 0x57, 0xf0, 0x39, 0xf0, 0x58, 0xf0, 0x89, 0xf0, 0x00, 0x40, 0xff, 0x7f,
    0x00, 0x80, 0x88, 0x00, 0x5e, 0xf0, 0x59, 0xf0, 0x00, 0x10, 0x00, 0x08, 0x00, 0x20, 0x76, 0x00, 0x00, 0xf8, 0xa0,
    0x00, 0xe8, 0x03, 0x01, 0x80, 0xb8, 0x7e, 0xe1, 0x7a, 0x7f, 0xff, 0x26, 0xf0, 0x91, 0x04, 0xf0, 0x00, 0xff, 0x00,
    0x00, 0xff, 0x56, 0xf0, 0x8e, 0x00, 0x62, 0x00, 0x66, 0x00, 0xff, 0xfb, 0x52, 0xf0, 0x33, 0x09, 0x33, 0x07, 0x90,
    0x01, 0xc8, 0x3b, 0x39, 0xc4, 0x91, 0x37, 0x66, 0x02, 0x00, 0x01, 0x02, 0x01, 0x8c, 0x00, 0xaf, 0x00, 0xec, 0x00,
    0xff, 0xb9, 0x00, 0x02, 0x00, 0xb0, 0x05, 0x80, 0xc9, 0xf0, 0x70, 0x50, 0xf0, 0x7f, 0xe1, 0x7f, 0xdb, 0x7f, 0x98,
    0x2e, 0xe9, 0x00, 0x00, 0xb2, 0x79, 0x50, 0x1b, 0x30, 0x05, 0x2f, 0x03, 0x2e, 0x03, 0xf0, 0x9d, 0xbc, 0x9f, 0xb8,
    0x40, 0x90, 0x04, 0x2f, 0x37, 0x2e, 0x61, 0x00, 0x21, 0x2e, 0xbc, 0xf0, 0x10, 0x2d, 0x69, 0x52, 0x7d, 0x50, 0xc5,
    0x7f, 0xb4, 0x7f, 0xa3, 0x7f, 0x92, 0x7f, 0x98, 0x2e, 0xd6, 0x01, 0x10, 0x30, 0x21, 0x2e, 0x52, 0x00, 0x92, 0x6f,
    0xa3, 0x6f, 0xb4, 0x6f, 0xc5, 0x6f, 0x79, 0x50, 0x21, 0x2e, 0xb8, 0xf0, 0xe1, 0x6f, 0xf0, 0x6f, 0xdb, 0x6f, 0x90,
    0x5f, 0xc8, 0x2e, 0x80, 0x50, 0xe1, 0x7f, 0xf0, 0x7f, 0xdb, 0x7f, 0x00, 0x2e, 0x7f, 0x52, 0x00, 0x2e, 0x60, 0x40,
    0x41, 0x40, 0x08, 0xbc, 0x41, 0x0a, 0x40, 0xb2, 0x12, 0x2f, 0x87, 0x7f, 0x71, 0x25, 0x67, 0x52, 0x81, 0x50, 0x94,
    0x7f, 0xa2, 0x7f, 0xb3, 0x7f, 0xc5, 0x7f, 0x98, 0x2e, 0xd6, 0x01, 0x10, 0x30, 0x17, 0x25, 0x21, 0x2e, 0x6b, 0x00,
    0xc5, 0x6f, 0xb3, 0x6f, 0xa2, 0x6f, 0x94, 0x6f, 0x87, 0x6f, 0x01, 0x2e, 0x6b, 0x00, 0x01, 0x0a, 0x00, 0xb2, 0x07,
    0x2f, 0x1b, 0x30, 0x37, 0x2e, 0x53, 0x00, 0x40, 0x90, 0x0b, 0x30, 0x01, 0x2f, 0x37, 0x2e, 0x6b, 0x00, 0x98, 0x2e,
    0xe9, 0x00, 0x00, 0xb2, 0x02, 0x2f, 0x79, 0x50, 0x21, 0x2e, 0xba, 0xf0, 0x0b, 0x31, 0x37, 0x2e, 0xb8, 0xf0, 0xe1,
    0x6f, 0xdb, 0x6f, 0xf0, 0x6f, 0x80, 0x5f, 0xc8, 0x2e, 0x05, 0x2e, 0x01, 0xf0, 0x2e, 0xbd, 0xae, 0xb9, 0x34, 0x30,
    0x43, 0x84, 0xe3, 0x04, 0x25, 0x40, 0x04, 0x40, 0xd8, 0xbe, 0x2c, 0x0b, 0x23, 0x11, 0x54, 0x42, 0x03, 0x80, 0x4a,
    0x0e, 0xf6, 0x2f, 0xb8, 0x2e, 0x1a, 0x24, 0x26, 0x00, 0x80, 0x2e, 0x00, 0xb0, 0x01, 0x2e, 0x55, 0xf0, 0xc0, 0x2e,
    0x21, 0x2e, 0x55, 0xf0, 0x10, 0x50, 0xfb, 0x7f, 0x21, 0x25, 0x98, 0x2e, 0x7a, 0xb1, 0xfb, 0x6f, 0x21, 0x25, 0xf0,
    0x5f, 0x10, 0x25, 0x80, 0x2e, 0x1e, 0xb1, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0xfd, 0x2d, 0x10, 0x50,
    0x98, 0x2e, 0x00, 0xb8, 0x6b, 0x50, 0x98, 0x2e, 0xa8, 0x00, 0x77, 0x50, 0x04, 0x80, 0xf0, 0x7f, 0x00, 0x2e, 0x00,
    0x2e, 0xd0, 0x2e, 0x01, 0x2e, 0x2c, 0x01, 0x01, 0xbc, 0x0e, 0xb8, 0x21, 0x2e, 0x5b, 0x00, 0x98, 0x2e, 0xd9, 0xb1,
    0x98, 0x2e, 0xa0, 0xb4, 0x01, 0x2e, 0x53, 0x00, 0x00, 0xb2, 0x90, 0x2e, 0xb8, 0xb0, 0x01, 0x2e, 0x5a, 0x00, 0x03,
    0xa0, 0x35, 0x2f, 0x03, 0xb2, 0x06, 0x2f, 0x75, 0x52, 0x73, 0x50, 0x21, 0x2e, 0x8b, 0x00, 0x23, 0x2e, 0x75, 0x00,
    0x1b, 0x2d, 0x05, 0x2e, 0x03, 0x01, 0x01, 0x2e, 0x5b, 0x00, 0x51, 0x30, 0x08, 0x04, 0x23, 0xbd, 0xa3, 0xb8, 0x48,
    0x12, 0x40, 0xb2, 0x12, 0x30, 0x51, 0x22, 0x01, 0x2e, 0x6a, 0x00, 0x6f, 0x54, 0x71, 0x56, 0x02, 0x08, 0x4b, 0x08,
    0x01, 0x0a, 0x61, 0x54, 0x63, 0x52, 0x21, 0x2e, 0x6a, 0x00, 0x25, 0x2e, 0x75, 0x00, 0x23, 0x2e, 0x8b, 0x00, 0x67,
    0x50, 0x98, 0x2e, 0x99, 0xb1, 0x67, 0x50, 0x5f, 0x52, 0x98, 0x2e, 0x0e, 0xb2, 0x67, 0x50, 0x65, 0x52, 0x98, 0x2e,
    0x0e, 0xb2, 0x01, 0x2e, 0x5a, 0x00, 0x04, 0x90, 0x02, 0x2f, 0x67, 0x50, 0x98, 0x2e, 0x3e, 0xb5, 0x05, 0x2e, 0x5a,
    0x00, 0x82, 0xb2, 0x51, 0x2f, 0x80, 0xb2, 0x4f, 0x2f, 0x81, 0xb2, 0x6d, 0x50, 0x41, 0x2f, 0x83, 0xb2, 0x03, 0x2e,
    0x73, 0x00, 0x2f, 0x2f, 0x84, 0x90, 0x53, 0x2f, 0x05, 0x2e, 0x69, 0x00, 0x80, 0x90, 0x03, 0x2f, 0x00, 0x30, 0x21,
    0x2e, 0x5d, 0x00, 0x4c, 0x2d, 0x07, 0x2e, 0x89, 0x00, 0x05, 0x2e, 0x2c, 0x01, 0xc0, 0xb2, 0x06, 0x2f, 0x13, 0x30,
    0xd3, 0x08, 0xc0, 0xb2, 0x02, 0x2f, 0x03, 0x30, 0x27, 0x2e, 0x5a, 0x00, 0x07, 0x2e, 0x6d, 0x00, 0x59, 0x0a, 0x40,
    0xb2, 0x02, 0x2f, 0x01, 0x30, 0x23, 0x2e, 0x5d, 0x00, 0x21, 0x30, 0x51, 0x08, 0x40, 0xb2, 0x32, 0x2f, 0x03, 0x2e,
    0x5d, 0x00, 0x10, 0x08, 0x41, 0x82, 0x02, 0xb8, 0x23, 0x2e, 0x5d, 0x00, 0x48, 0x0e, 0x29, 0x2f, 0x00, 0x30, 0x21,
    0x2e, 0x5a, 0x00, 0x26, 0x2d, 0x40, 0xb2, 0x23, 0x2f, 0x11, 0x30, 0x40, 0x30, 0x02, 0x30, 0x23, 0x2e, 0x6c, 0x00,
    0x23, 0x2e, 0x82, 0x00, 0x21, 0x2e, 0x5a, 0x00, 0x25, 0x2e, 0x5d, 0x00, 0x18, 0x2d, 0x01, 0x2e, 0x5e, 0x00, 0x3f,
    0x80, 0x21, 0x2e, 0x5e, 0x00, 0x00, 0xaa, 0x10, 0x2f, 0x30, 0x30, 0x21, 0x2e, 0x5a, 0x00, 0x0d, 0x2d, 0x03, 0x2e,
    0x5b, 0x00, 0x02, 0x32, 0x10, 0x30, 0x51, 0x10, 0x21, 0x2e, 0x6c, 0x00, 0x21, 0x2e, 0x82, 0x00, 0x21, 0x2e, 0x5a,
    0x00, 0x23, 0x2e, 0x5e, 0x00, 0x02, 0x30, 0x25, 0x2e, 0x53, 0x00, 0x01, 0x2e, 0x00, 0xf0, 0x09, 0x2e, 0x2c, 0x01,
    0x07, 0x2e, 0x69, 0x00, 0x4f, 0xba, 0xc0, 0x90, 0x03, 0x2e, 0x5c, 0x00, 0x06, 0x2f, 0x40, 0xb2, 0x00, 0x30, 0x29,
    0x2f, 0x25, 0x2e, 0x5c, 0x00, 0x27, 0x2c, 0x01, 0x25, 0x40, 0x90, 0x01, 0x2f, 0x21, 0x2e, 0x5c, 0x00, 0x03, 0x2e,
    0x5a, 0x00, 0x40, 0xb2, 0x12, 0x2f, 0x44, 0x90, 0x00, 0x30, 0x1a, 0x2f, 0x00, 0xb3, 0x01, 0x2e, 0x5c, 0x00, 0x16,
    0x2f, 0x98, 0x2e, 0xe9, 0x00, 0x00, 0xb2, 0x70, 0x32, 0x11, 0x2f, 0x93, 0x31, 0x98, 0x2e, 0xf7, 0x00, 0x00, 0x90,
    0x90, 0x30, 0x0c, 0x2c, 0x18, 0x22, 0x00, 0x91, 0x01, 0x2f, 0x21, 0x2e, 0x5c, 0x00, 0x21, 0x33, 0x23, 0x30, 0x01,
    0x2e, 0x5b, 0x00, 0x01, 0x00, 0x27, 0x2e, 0x5a, 0x00, 0x00, 0xb2, 0x01, 0x2f, 0x21, 0x2e, 0x00, 0xf0, 0x01, 0x2e,
    0x52, 0x00, 0x00, 0x90, 0x03, 0x2f, 0x01, 0x2e, 0x61, 0x00, 0x00, 0xb2, 0x06, 0x2f, 0x69, 0x50, 0x98, 0x2e, 0x99,
    0xb1, 0x69, 0x50, 0x98, 0x2e, 0x19, 0xb3, 0x02, 0x30, 0x25, 0x2e, 0x52, 0x00, 0x01, 0x2e, 0x55, 0xf0, 0x21, 0x2e,
    0x55, 0xf0, 0xf0, 0x6f, 0x03, 0x31, 0x01, 0x40, 0x05, 0x2e, 0x5a, 0x00, 0xcb, 0x0a, 0xf4, 0x3e, 0x83, 0x90, 0x4c,
    0x08, 0x4b, 0x22, 0x01, 0x42, 0x00, 0x2e, 0x01, 0x2e, 0x55, 0xf0, 0x21, 0x2e, 0x55, 0xf0, 0x80, 0x2e, 0x09, 0xb0,
    0x30, 0x50, 0x00, 0x30, 0x83, 0x56, 0x05, 0x30, 0x05, 0x2c, 0xfb, 0x7f, 0x3e, 0xbe, 0xd2, 0xba, 0xb2, 0xb9, 0x6c,
    0x0b, 0x53, 0x0e, 0xf9, 0x2f, 0x53, 0x1a, 0x01, 0x2f, 0x4d, 0x0e, 0xf5, 0x2f, 0xd2, 0x7f, 0x04, 0x30, 0x1f, 0x2c,
    0xe1, 0x7f, 0xc5, 0x01, 0xa3, 0x03, 0x72, 0x0e, 0x03, 0x2f, 0x72, 0x1a, 0x0f, 0x2f, 0x79, 0x0f, 0x0d, 0x2f, 0xe1,
    0x6f, 0x4f, 0x04, 0x5f, 0xb9, 0xb1, 0xbf, 0xfa, 0x0b, 0xd2, 0x6f, 0x96, 0x06, 0xb1, 0x25, 0x51, 0xbf, 0xeb, 0x7f,
    0x06, 0x00, 0xb2, 0x25, 0x27, 0x03, 0xdb, 0x7f, 0xcf, 0xbf, 0x3e, 0xbf, 0x01, 0xb8, 0xd2, 0xba, 0x41, 0xba, 0xb2,
    0xb9, 0x07, 0x0a, 0x6e, 0x0b, 0xc0, 0x90, 0xdf, 0x2f, 0x40, 0x91, 0xdd, 0x2f, 0xfb, 0x6f, 0xd0, 0x5f, 0xb8, 0x2e,
    0x94, 0x01, 0xdd, 0x03, 0xc0, 0xad, 0x0b, 0x2f, 0xc0, 0xa8, 0x03, 0x2f, 0xc0, 0x90, 0x07, 0x2f, 0x80, 0xa6, 0x05,
    0x2f, 0x40, 0xa9, 0x12, 0x2f, 0x40, 0x91, 0x01, 0x2f, 0x00, 0xab, 0x0e, 0x2f, 0xc0, 0xac, 0x00, 0x30, 0x87, 0x52,
    0x07, 0x2f, 0xc0, 0xa9, 0x03, 0x2f, 0xc0, 0x91, 0x03, 0x2f, 0x80, 0xa7, 0x01, 0x2f, 0x40, 0xa1, 0x05, 0x2f, 0xc0,
    0x2e, 0x17, 0x25, 0x06, 0x25, 0xc0, 0x2e, 0xf0, 0x3f, 0x85, 0x52, 0xb8, 0x2e, 0x83, 0x86, 0x01, 0x30, 0x00, 0x30,
    0x94, 0x40, 0x24, 0x18, 0x06, 0x00, 0x53, 0x0e, 0x4f, 0x02, 0xf9, 0x2f, 0xb8, 0x2e, 0x80, 0xa8, 0x03, 0x25, 0x10,
    0x2f, 0x80, 0x90, 0x01, 0x2f, 0x41, 0x0e, 0x0c, 0x2f, 0xf3, 0x3f, 0x18, 0x05, 0x05, 0x30, 0x5d, 0x07, 0x15, 0x0e,
    0x03, 0x2f, 0x55, 0x1a, 0x02, 0x2f, 0xcc, 0x0f, 0x00, 0x2f, 0x58, 0x04, 0x01, 0x25, 0xb8, 0x2e, 0xb8, 0x2e, 0x60,
    0x50, 0x03, 0x2e, 0x2e, 0x01, 0xe0, 0x7f, 0xf1, 0x7f, 0xdb, 0x7f, 0x30, 0x30, 0x89, 0x54, 0x0a, 0x1a, 0x28, 0x2f,
    0x1a, 0x25, 0x7a, 0x82, 0x00, 0x30, 0x43, 0x30, 0x32, 0x30, 0x05, 0x30, 0x04, 0x30, 0xf6, 0x6f, 0xf2, 0x09, 0xfc,
    0x13, 0xc2, 0xab, 0xb3, 0x09, 0xef, 0x23, 0x80, 0xb3, 0xe6, 0x6f, 0xb7, 0x01, 0x00, 0x2e, 0x8b, 0x41, 0x4b, 0x42,
    0x03, 0x2f, 0x46, 0x40, 0x86, 0x17, 0x81, 0x8d, 0x46, 0x42, 0x41, 0x8b, 0x23, 0xbd, 0xb3, 0xbd, 0x03, 0x89, 0x41,
    0x82, 0x07, 0x0c, 0x43, 0xa3, 0xe6, 0x2f, 0xe1, 0x6f, 0xa2, 0x6f, 0x52, 0x42, 0x00, 0x2e, 0xb2, 0x6f, 0x52, 0x42,
    0x00, 0x2e, 0xc2, 0x6f, 0x42, 0x42, 0x03, 0xb2, 0x03, 0x2e, 0x59, 0xf0, 0xf3, 0x3d, 0x02, 0x32, 0x0b, 0x08, 0x8a,
    0x0a, 0xdb, 0x6f, 0x02, 0x22, 0xa0, 0x5f, 0x21, 0x2e, 0x59, 0xf0, 0xb8, 0x2e, 0x03, 0x2e, 0x00, 0xf0, 0x07, 0x2e,
    0x00, 0xf0, 0xbc, 0xbe, 0x05, 0x2e, 0x2c, 0x01, 0x8d, 0x50, 0xaf, 0xb9, 0x02, 0x40, 0xf4, 0x33, 0xdc, 0xba, 0xc1,
    0xb2, 0x94, 0x08, 0x0e, 0x2f, 0x07, 0x2e, 0x5a, 0x00, 0xc4, 0x90, 0x0a, 0x2f, 0x79, 0x56, 0xcb, 0x0f, 0x07, 0x2f,
    0x49, 0xaf, 0x05, 0x2f, 0x79, 0x52, 0x51, 0x0a, 0x02, 0x34, 0x47, 0xa3, 0x8a, 0x0a, 0x91, 0x22, 0x3c, 0x80, 0x25,
    0x2e, 0x59, 0xf0, 0x01, 0x40, 0x01, 0x42, 0xb8, 0x2e, 0x0a, 0x86, 0x02, 0x30, 0x12, 0x42, 0x43, 0x0e, 0xfc, 0x2f,
    0x36, 0x80, 0x13, 0x30, 0x13, 0x42, 0x12, 0x42, 0x12, 0x42, 0x12, 0x42, 0x02, 0x42, 0x04, 0x80, 0x41, 0x84, 0x11,
    0x42, 0x02, 0x42, 0xb8, 0x2e, 0x46, 0x86, 0x80, 0x50, 0xe4, 0x40, 0xc2, 0x40, 0xf4, 0x7f, 0x83, 0xb0, 0x0b, 0x2e,
    0x57, 0xf0, 0x42, 0x88, 0xee, 0x13, 0xe4, 0x7f, 0x74, 0x30, 0xc2, 0x8a, 0xfc, 0x09, 0x03, 0x30, 0x43, 0x43, 0xc0,
    0xb3, 0xc7, 0x7f, 0xd0, 0x7f, 0x69, 0x2f, 0x41, 0x25, 0x55, 0x40, 0xb1, 0x7f, 0x41, 0x91, 0x0e, 0x2f, 0x03, 0x43,
    0x00, 0x2e, 0xe1, 0x6f, 0x12, 0x40, 0x52, 0x42, 0x00, 0x2e, 0x12, 0x40, 0x52, 0x42, 0x00, 0x2e, 0x00, 0x40, 0x40,
    0x42, 0x7d, 0x80, 0xc0, 0x2e, 0x03, 0x42, 0x80, 0x5f, 0x08, 0x89, 0x11, 0x30, 0x16, 0x41, 0x05, 0x41, 0xa6, 0x7f,
    0x39, 0x89, 0x86, 0x41, 0x45, 0x41, 0xd3, 0xbe, 0xd3, 0xba, 0x65, 0xbf, 0x95, 0x7f, 0x65, 0xbb, 0x05, 0x30, 0x86,
    0x7f, 0x8b, 0x15, 0xbe, 0x09, 0x80, 0xb3, 0x0a, 0x2f, 0x07, 0x40, 0x06, 0x41, 0xfe, 0x05, 0x06, 0x30, 0xc0, 0xa9,
    0xb7, 0x05, 0xfe, 0x23, 0x86, 0x6f, 0x7e, 0x0f, 0x4d, 0x23, 0xc7, 0x6f, 0x80, 0xb2, 0x06, 0x2f, 0xa6, 0x6f, 0x8f,
    0x5e, 0x86, 0x41, 0xf7, 0x09, 0xc0, 0xb3, 0xc7, 0x6f, 0x01, 0x2f, 0x06, 0x40, 0x06, 0x43, 0xc1, 0x86, 0x01, 0x80,
    0x01, 0x89, 0xc3, 0xa2, 0xe0, 0x2f, 0xb0, 0x6f, 0x2a, 0x1a, 0x02, 0x2f, 0x01, 0x30, 0x25, 0x2c, 0x01, 0x42, 0x02,
    0x40, 0x91, 0x28, 0x93, 0x6f, 0x02, 0x42, 0x53, 0x0e, 0x1d, 0x2f, 0xf2, 0x6f, 0x80, 0xb2, 0x03, 0x2f, 0xbf, 0x84,
    0x8a, 0x14, 0x25, 0x2e, 0x5e, 0xf0, 0xd4, 0x6f, 0xe3, 0x6f, 0x12, 0x41, 0xd2, 0x42, 0x02, 0x30, 0x15, 0x41, 0xd5,
    0x42, 0x00, 0x2e, 0x04, 0x41, 0xc4, 0x42, 0xc3, 0x86, 0xa5, 0x6f, 0x91, 0x58, 0x45, 0x41, 0x2c, 0x09, 0xc1, 0x42,
    0x00, 0xb3, 0x04, 0x2f, 0x00, 0x2e, 0x03, 0x2c, 0x02, 0x42, 0x10, 0x30, 0x40, 0x42, 0x80, 0x5f, 0xb8, 0x2e, 0x70,
    0x50, 0x42, 0x8e, 0xd4, 0x7f, 0xf6, 0x7f, 0x47, 0x25, 0x1a, 0x18, 0x93, 0x52, 0xf1, 0x00, 0x64, 0x25, 0x01, 0x30,
    0x39, 0x02, 0x94, 0x41, 0x81, 0x41, 0xe2, 0x7f, 0xbe, 0xbb, 0xbd, 0x8d, 0x02, 0xbd, 0xb5, 0x7f, 0x8e, 0xb5, 0xba,
    0x0a, 0xc6, 0x7f, 0xab, 0x7f, 0x51, 0x25, 0x98, 0x2e, 0x57, 0xb1, 0xd5, 0x6f, 0xe2, 0x6f, 0x2a, 0x18, 0x93, 0x54,
    0xb2, 0x01, 0x02, 0x30, 0xc4, 0x6f, 0x7a, 0x03, 0x12, 0x41, 0x74, 0x25, 0xd0, 0x7f, 0x52, 0xbc, 0xd3, 0x41, 0x6e,
    0xba, 0xde, 0xb6, 0x20, 0x0b, 0xc7, 0x7f, 0x91, 0x7f, 0x98, 0x2e, 0x57, 0xb1, 0xf2, 0x6f, 0xd5, 0x6f, 0xca, 0x16,
    0x55, 0x18, 0xdd, 0x18, 0x95, 0x6f, 0xea, 0x18, 0x93, 0x5a, 0x31, 0x25, 0x75, 0x01, 0x01, 0x30, 0x20, 0x25, 0x39,
    0x02, 0x5e, 0xba, 0x82, 0xbc, 0x8e, 0xb6, 0x21, 0x0b, 0x98, 0x2e, 0x57, 0xb1, 0xe2, 0x6f, 0xb5, 0x6f, 0x2a, 0x18,
    0xe0, 0x7f, 0xf1, 0x7f, 0x04, 0x30, 0x93, 0x54, 0xf2, 0x00, 0x7c, 0x02, 0x85, 0x6f, 0xd0, 0x6f, 0x0d, 0x17, 0x68,
    0x18, 0xe0, 0x18, 0x90, 0x6f, 0xc4, 0x6f, 0xc5, 0x18, 0xeb, 0x6f, 0xb2, 0x01, 0x1b, 0x43, 0x02, 0x30, 0x7a, 0x03,
    0xfb, 0x6f, 0x3d, 0x8f, 0x0b, 0x43, 0x3e, 0xba, 0x12, 0xbd, 0x52, 0xbc, 0x6e, 0xbb, 0xa2, 0x0a, 0x9e, 0xb5, 0xde,
    0xb6, 0x30, 0x0b, 0xf7, 0x7f, 0x98, 0x2e, 0x57, 0xb1, 0xf5, 0x6f, 0x31, 0x25, 0xd1, 0x6f, 0x92, 0x6f, 0xab, 0x6f,
    0x50, 0x43, 0x43, 0x43, 0x90, 0x5f, 0x85, 0x56, 0x80, 0x2e, 0x84, 0xb1, 0x10, 0x50, 0x03, 0x40, 0x19, 0x18, 0x87,
    0x56, 0x19, 0x05, 0x36, 0x25, 0xf7, 0x7f, 0x4a, 0x17, 0x54, 0x18, 0xec, 0x18, 0x09, 0x17, 0x01, 0x30, 0x0c, 0x07,
    0xe2, 0x18, 0xde, 0x00, 0xf2, 0x6f, 0x97, 0x02, 0x83, 0x58, 0xdc, 0x00, 0x91, 0x02, 0xbf, 0xb8, 0x21, 0xbd, 0x8a,
    0x0a, 0xc0, 0x2e, 0x02, 0x42, 0xf0, 0x5f, 0x03, 0x2e, 0x58, 0xf0, 0x02, 0x37, 0x30, 0x50, 0xca, 0x08, 0xc0, 0x90,
    0xfb, 0x7f, 0x0e, 0x2f, 0x03, 0x2e, 0x56, 0xf0, 0x32, 0x3e, 0x4a, 0x08, 0x23, 0x2e, 0x56, 0xf0, 0xe0, 0x7f, 0xd3,
    0x7f, 0x98, 0x2e, 0xeb, 0x01, 0x10, 0x30, 0x21, 0x2e, 0x61, 0x00, 0xe0, 0x6f, 0xd3, 0x6f, 0x03, 0x2e, 0x61, 0x00,
    0x40, 0x90, 0x95, 0x52, 0x1b, 0x2f, 0x05, 0x2e, 0x60, 0x00, 0x8b, 0x88, 0xb4, 0xb9, 0x03, 0x43, 0x30, 0x25, 0x98,
    0x2e, 0x95, 0xb3, 0x00, 0xb2, 0xe0, 0x7f, 0x09, 0x2f, 0x03, 0x2e, 0x56, 0xf0, 0x32, 0x3e, 0x02, 0xbc, 0x4a, 0x08,
    0x01, 0x0a, 0x21, 0x2e, 0x56, 0xf0, 0x98, 0x2e, 0xeb, 0x01, 0xe0, 0x6f, 0x00, 0xa6, 0x10, 0x30, 0x08, 0x2f, 0x21,
    0x2e, 0x5e, 0xf0, 0x06, 0x2d, 0x03, 0x30, 0x95, 0x50, 0x98, 0x2e, 0x5a, 0xb3, 0x27, 0x2e, 0x61, 0x00, 0xfb, 0x6f,
    0xd0, 0x5f, 0xb8, 0x2e, 0x0c, 0x82, 0x02, 0x30, 0x12, 0x42, 0x41, 0x0e, 0xfc, 0x2f, 0x35, 0x80, 0x91, 0x52, 0x11,
    0x42, 0x00, 0x2e, 0x97, 0x52, 0x01, 0x42, 0xb8, 0x2e, 0x07, 0x88, 0x46, 0x8e, 0x06, 0x41, 0x3c, 0x8b, 0x32, 0x1a,
    0x42, 0x41, 0xc7, 0x41, 0x16, 0x2f, 0x80, 0x91, 0x23, 0x2f, 0x57, 0x0f, 0x16, 0x30, 0x0c, 0x2f, 0x06, 0x80, 0x00,
    0x2e, 0x00, 0x40, 0x00, 0xb2, 0x04, 0x2f, 0x45, 0x82, 0x00, 0x2e, 0x41, 0x40, 0xd1, 0x0f, 0x02, 0x2f, 0x06, 0x30,
    0x06, 0x43, 0x46, 0x43, 0x80, 0xb3, 0x11, 0x2f, 0x03, 0x43, 0x47, 0x43, 0xb8, 0x2e, 0xd7, 0x0e, 0x0c, 0x2f, 0x43,
    0x82, 0x17, 0x04, 0x41, 0x40, 0x41, 0x0f, 0x07, 0x2f, 0x03, 0x43, 0x42, 0x83, 0x47, 0x43, 0x00, 0x2e, 0x43, 0x40,
    0xc1, 0x86, 0x43, 0x42, 0xb8, 0x2e, 0xb8, 0x2e, 0x88, 0x88, 0xc0, 0x50, 0x39, 0x8d, 0x88, 0x81, 0xe2, 0x7f, 0x02,
    0x30, 0x05, 0x40, 0xf2, 0x7f, 0x41, 0xab, 0x22, 0x30, 0x95, 0x22, 0x86, 0x41, 0x99, 0x5e, 0x9a, 0x00, 0x04, 0x41,
    0x37, 0x18, 0x66, 0x01, 0x9b, 0x56, 0xeb, 0x00, 0xc1, 0x7f, 0xb3, 0x7f, 0xd5, 0x7f, 0x48, 0x82, 0x39, 0x80, 0x82,
    0x40, 0xa0, 0x7f, 0x91, 0x7f, 0x8b, 0x7f, 0x06, 0x30, 0x83, 0x5a, 0x9d, 0x58, 0x83, 0x56, 0x98, 0x2e, 0x90, 0xb2,
    0x91, 0x6f, 0x7b, 0x82, 0xc6, 0x6f, 0x42, 0x40, 0x81, 0x84, 0x42, 0x42, 0x43, 0x82, 0x83, 0x8b, 0x42, 0x40, 0x86,
    0x89, 0x7b, 0x82, 0x84, 0x87, 0x71, 0x7f, 0x80, 0xb2, 0x95, 0x7f, 0x64, 0x7f, 0x50, 0x7f, 0x02, 0x2f, 0xc5, 0x40,
    0x41, 0x8b, 0xc5, 0x42, 0x87, 0x89, 0x67, 0x40, 0x07, 0x0f, 0x85, 0x8b, 0x41, 0x7f, 0x82, 0x8d, 0x47, 0x40, 0x3c,
    0x2f, 0x81, 0x41, 0x01, 0x0e, 0xe1, 0x6f, 0x2d, 0x2f, 0x46, 0x8c, 0x90, 0x6f, 0x86, 0x41, 0x07, 0x40, 0xfe, 0x0e,
    0x02, 0x2f, 0x04, 0x41, 0x00, 0xb3, 0x21, 0x2f, 0x44, 0x82, 0x04, 0x30, 0x41, 0x40, 0x71, 0x00, 0xf9, 0x0e, 0x36,
    0x2f, 0x46, 0x41, 0x80, 0xa7, 0x01, 0x30, 0x04, 0x30, 0x0d, 0x2f, 0xe4, 0x6f, 0x00, 0x2e, 0x04, 0x41, 0x74, 0x0f,
    0x04, 0x30, 0x07, 0x2f, 0x80, 0x90, 0x00, 0x2f, 0xc1, 0x42, 0x03, 0x86, 0x81, 0x84, 0xc2, 0x42, 0x01, 0x42, 0x14,
    0x30, 0x42, 0x85, 0x41, 0x43, 0xa1, 0x42, 0x00, 0x2e, 0x82, 0x40, 0x80, 0x90, 0x1c, 0x2f, 0x01, 0x42, 0x1b, 0x2d,
    0x06, 0x42, 0x19, 0x2c, 0x04, 0x30, 0xb2, 0x6f, 0xba, 0x04, 0x02, 0x1e, 0x80, 0x43, 0x12, 0x30, 0xc0, 0x6f, 0x23,
    0x30, 0x98, 0x2e, 0x66, 0xb3, 0x0e, 0x2c, 0x04, 0x30, 0xb2, 0x6f, 0xc0, 0x6f, 0xba, 0x00, 0x51, 0x6f, 0x01, 0x86,
    0x4a, 0x1c, 0xc1, 0x42, 0x22, 0x30, 0xe1, 0x6f, 0x13, 0x30, 0x98, 0x2e, 0x66, 0xb3, 0x04, 0x30, 0x52, 0x6f, 0x9f,
    0x52, 0x40, 0x6f, 0xc4, 0x7f, 0x98, 0x2e, 0xff, 0xb2, 0x41, 0x6f, 0x70, 0x6f, 0x42, 0x40, 0xa1, 0x52, 0x98, 0x2e,
    0xff, 0xb2, 0x41, 0x6f, 0x70, 0x6f, 0x42, 0x40, 0x01, 0x40, 0xd3, 0x6f, 0xd3, 0x00, 0xcb, 0x1e, 0xa1, 0x52, 0x13,
    0x42, 0xb0, 0x7f, 0x98, 0x2e, 0xff, 0xb2, 0xb0, 0x6f, 0x3e, 0x84, 0xd1, 0x6f, 0x82, 0x40, 0x03, 0x40, 0x51, 0x04,
    0x59, 0x1c, 0x01, 0x42, 0x02, 0x82, 0xa0, 0x6f, 0x42, 0x40, 0x03, 0x40, 0xd3, 0x0f, 0x00, 0x30, 0x14, 0x30, 0x60,
    0x22, 0xc5, 0x6f, 0x40, 0x91, 0x01, 0x2f, 0x53, 0x0e, 0x26, 0x2f, 0xe5, 0x6f, 0x47, 0x85, 0x00, 0x2e, 0x83, 0x40,
    0x59, 0x0f, 0x20, 0x2f, 0x62, 0x6f, 0x4a, 0x8f, 0x85, 0x40, 0xc7, 0x41, 0x7f, 0x8d, 0x6f, 0x0f, 0xa6, 0x15, 0x17,
    0x30, 0x04, 0x30, 0x0f, 0x2f, 0xe0, 0x6f, 0x0b, 0x80, 0x00, 0x2e, 0x07, 0x40, 0x3e, 0x08, 0x00, 0xb2, 0x00, 0x30,
    0x06, 0x2f, 0x59, 0x1a, 0x04, 0x2f, 0xfd, 0x12, 0xc0, 0x90, 0x13, 0x30, 0x4b, 0x22, 0x06, 0x25, 0x71, 0x25, 0xc0,
    0xb3, 0x04, 0x2f, 0xa4, 0x42, 0xa4, 0x42, 0x83, 0x82, 0x84, 0x42, 0x44, 0x42, 0x00, 0x2e, 0x8b, 0x6f, 0x40, 0x5f,
    0xb8, 0x2e, 0x87, 0x50, 0x50, 0x1a, 0x04, 0x2f, 0x85, 0x56, 0x41, 0x80, 0x4b, 0x1a, 0x81, 0x84, 0x41, 0x22, 0x00,
    0x30, 0xc0, 0x2e, 0x82, 0x04, 0x0a, 0x28, 0xff, 0x80, 0x14, 0x30, 0x20, 0x14, 0x0a, 0x18, 0x08, 0x17, 0x30, 0x00,
    0xc0, 0xb2, 0x3c, 0x03, 0x0b, 0x2f, 0xd0, 0xa0, 0x03, 0x2f, 0xf0, 0x80, 0x20, 0x10, 0x07, 0x2c, 0x08, 0x17, 0x05,
    0x31, 0x6b, 0x05, 0x65, 0x15, 0x03, 0x12, 0x23, 0x11, 0x05, 0x0a, 0xc8, 0x16, 0x23, 0x1a, 0x04, 0x2f, 0x4a, 0x0c,
    0x85, 0x54, 0xc0, 0x2e, 0x9f, 0xb8, 0x0a, 0x00, 0xb8, 0x2e, 0x20, 0x50, 0x4a, 0x25, 0x3e, 0x89, 0x07, 0x2e, 0x8c,
    0x00, 0x02, 0x30, 0xc0, 0xb2, 0x02, 0x43, 0xfb, 0x7f, 0x30, 0x2f, 0x07, 0x2e, 0x8d, 0x00, 0xc0, 0xb2, 0x11, 0x2f,
    0xc1, 0x90, 0x0d, 0x2f, 0x05, 0x2e, 0x2a, 0x01, 0x07, 0x2e, 0x2b, 0x01, 0xa1, 0x32, 0x98, 0x2e, 0xff, 0xb4, 0xe3,
    0x6f, 0x04, 0x30, 0x27, 0x2e, 0x2b, 0x01, 0x29, 0x2e, 0x8d, 0x00, 0x13, 0x2d, 0x12, 0x2c, 0x04, 0x30, 0xa5, 0x50,
    0xa3, 0x32, 0x14, 0x40, 0x11, 0x40, 0x18, 0xb9, 0x00, 0x40, 0x98, 0xbc, 0x61, 0x0a, 0x90, 0x0a, 0x98, 0x2e, 0xf1,
    0xb4, 0x14, 0x30, 0x29, 0x2e, 0x8d, 0x00, 0x21, 0x2e, 0x2b, 0x01, 0x04, 0x30, 0x7b, 0x56, 0xa3, 0x54, 0xc1, 0x40,
    0x8a, 0x08, 0xc2, 0x42, 0xfe, 0x86, 0x29, 0x2e, 0x8c, 0x00, 0xc4, 0x40, 0xc4, 0x42, 0x00, 0x2e, 0xfb, 0x6f, 0xe0,
    0x5f, 0xb8, 0x2e, 0xa7, 0x58, 0x00, 0x30, 0x0c, 0x2c, 0x8a, 0x00, 0x55, 0x40, 0x05, 0x0c, 0x05, 0x30, 0x01, 0xbf,
    0x0f, 0xb8, 0x00, 0x90, 0x34, 0x0c, 0x41, 0x8b, 0x06, 0x22, 0x50, 0xa3, 0xf7, 0x2f, 0x4a, 0x0e, 0xf2, 0x2f, 0xb8,
    0x2e, 0x40, 0x50, 0x0a, 0x25, 0x3c, 0x80, 0xfb, 0x7f, 0x01, 0x42, 0xd2, 0x7f, 0xe3, 0x7f, 0x32, 0x30, 0x10, 0x25,
    0x98, 0x2e, 0xdf, 0xb4, 0xfb, 0x6f, 0xc0, 0x5f, 0xb8, 0x2e, 0x70, 0x50, 0x0a, 0x25, 0x39, 0x80, 0xf3, 0x7f, 0x03,
    0x42, 0xa1, 0x7f, 0xc2, 0x7f, 0xd1, 0x7f, 0x03, 0x30, 0x03, 0x43, 0xe4, 0x7f, 0xbb, 0x7f, 0x22, 0x30, 0x10, 0x25,
    0x98, 0x2e, 0xdf, 0xb4, 0xd2, 0x6f, 0x02, 0x17, 0x04, 0x08, 0xc1, 0x6f, 0x0c, 0x09, 0x04, 0x1a, 0x10, 0x30, 0x04,
    0x30, 0x20, 0x22, 0x01, 0xb2, 0x14, 0x2f, 0xa9, 0x58, 0x14, 0x09, 0xf3, 0x30, 0x93, 0x08, 0x24, 0xbd, 0x44, 0xba,
    0x94, 0x0a, 0x02, 0x17, 0xf3, 0x6f, 0x4c, 0x08, 0x9a, 0x08, 0x8a, 0x0a, 0xad, 0x52, 0x51, 0x08, 0xab, 0x58, 0x94,
    0x08, 0x28, 0xbd, 0x98, 0xb8, 0xe4, 0x6f, 0x51, 0x0a, 0x01, 0x43, 0x00, 0x2e, 0xbb, 0x6f, 0x90, 0x5f, 0xb8, 0x2e,
    0xaf, 0x50, 0x31, 0x30, 0x23, 0x2e, 0x64, 0x00, 0x02, 0x40, 0x51, 0x0a, 0x21, 0x42, 0x00, 0x2e, 0x01, 0x40, 0x01,
    0x42, 0xb8, 0x2e, 0x80, 0x50, 0x09, 0x2e, 0x58, 0xf0, 0xf0, 0x7f, 0x43, 0x30, 0x23, 0x08, 0x5a, 0x25, 0x11, 0x30,
    0x23, 0x30, 0x72, 0x30, 0x79, 0x8b, 0x61, 0x08, 0xe3, 0x08, 0xa2, 0x08, 0x07, 0x30, 0x80, 0xb2, 0x47, 0x43, 0xeb,
    0x7f, 0xd1, 0x7f, 0xc0, 0x7f, 0xb3, 0x7f, 0x90, 0x2e, 0xe0, 0xb5, 0x09, 0x2e, 0x68, 0x00, 0x00, 0xb3, 0x09, 0x2f,
    0xb1, 0x52, 0x01, 0x2e, 0x65, 0x00, 0xa5, 0x7f, 0x98, 0x2e, 0xe6, 0xb5, 0x2f, 0x2e, 0x68, 0x00, 0xb3, 0x6f, 0xa5,
    0x6f, 0x03, 0x2e, 0x1d, 0x01, 0x15, 0xbe, 0x4f, 0xba, 0x00, 0xb3, 0x16, 0xbe, 0x46, 0xba, 0x14, 0xb1, 0xa6, 0x7f,
    0x61, 0x25, 0xb3, 0x58, 0xb5, 0x50, 0xc1, 0x6f, 0x02, 0x30, 0x0e, 0x2f, 0xb7, 0x5e, 0xb7, 0x09, 0xb3, 0x5e, 0x2d,
    0x2e, 0x1d, 0x01, 0xd2, 0x43, 0xc2, 0x43, 0x06, 0x30, 0xb9, 0x54, 0xaf, 0x5e, 0x96, 0x42, 0x57, 0x0e, 0xfc, 0x2f,
    0x16, 0x42, 0x06, 0x42, 0x2a, 0x25, 0xd9, 0x0a, 0xb8, 0x8c, 0x01, 0x2e, 0x65, 0x00, 0xf2, 0x6f, 0xb1, 0x52, 0x98,
    0x2e, 0x2a, 0xb6, 0xb3, 0x5a, 0x90, 0x6f, 0x54, 0x41, 0x00, 0xb2, 0x45, 0x41, 0x08, 0x2f, 0xd0, 0x6f, 0x00, 0xb2,
    0x05, 0x2f, 0xb5, 0x50, 0x23, 0x30, 0x14, 0x42, 0x05, 0x42, 0x27, 0x2e, 0x5e, 0xf0, 0xb0, 0x6f, 0x00, 0xb2, 0xaf,
    0x50, 0x2b, 0x2f, 0x03, 0x30, 0xb9, 0x52, 0x02, 0x31, 0xc0, 0xb2, 0x64, 0x25, 0x08, 0x2f, 0xd0, 0xa0, 0x02, 0x2f,
    0xf0, 0x8c, 0x05, 0x2c, 0xae, 0x13, 0xd3, 0x05, 0xa3, 0x13, 0xef, 0x15, 0xb7, 0x0b, 0x56, 0x42, 0xc8, 0x86, 0x48,
    0x0e, 0xef, 0x2f, 0xd3, 0x6f, 0xc0, 0x90, 0x15, 0x2f, 0xb5, 0x52, 0x00, 0x2e, 0x53, 0x40, 0x41, 0x40, 0xe3, 0x04,
    0x69, 0x06, 0x40, 0xaa, 0x04, 0x2f, 0x40, 0x90, 0x0b, 0x2f, 0xa1, 0x6f, 0x4b, 0x0f, 0x08, 0x2f, 0xa3, 0x6f, 0xc0,
    0xb2, 0x05, 0x2f, 0xb5, 0x56, 0x21, 0x30, 0xd4, 0x42, 0xc5, 0x42, 0x23, 0x2e, 0x5e, 0xf0, 0xc5, 0x6f, 0x40, 0xb3,
    0x16, 0x2f, 0x85, 0x6f, 0x09, 0x2e, 0x64, 0x00, 0x2c, 0x1a, 0x11, 0x2f, 0x09, 0x2e, 0x56, 0xf0, 0xc3, 0x3f, 0x2b,
    0x2e, 0x64, 0x00, 0x23, 0x09, 0x6c, 0x0b, 0x25, 0x42, 0x45, 0x30, 0x04, 0x40, 0x04, 0x42, 0x09, 0x88, 0x00, 0x2e,
    0x05, 0x43, 0x03, 0x2d, 0x15, 0x30, 0x2b, 0x2e, 0x68, 0x00, 0xeb, 0x6f, 0x80, 0x5f, 0xb8, 0x2e, 0x10, 0x50, 0x5a,
    0x84, 0xfb, 0x7f, 0x03, 0x30, 0x53, 0x42, 0x4a, 0x0e, 0xfc, 0x2f, 0x09, 0x86, 0x83, 0x54, 0xe4, 0x40, 0xc3, 0x80,
    0x94, 0x04, 0xc3, 0x40, 0x13, 0x05, 0x06, 0x40, 0xa6, 0x05, 0x4a, 0x17, 0x73, 0x30, 0x2b, 0x09, 0x4e, 0x17, 0xeb,
    0x08, 0x73, 0x01, 0x72, 0x86, 0xd3, 0xb4, 0xd1, 0x42, 0x49, 0x17, 0xc5, 0x42, 0xc3, 0x86, 0x94, 0x00, 0xd1, 0x42,
    0x23, 0xb5, 0xc5, 0x42, 0xfd, 0x86, 0x4a, 0x16, 0xd2, 0x42, 0xc3, 0x88, 0xc1, 0x42, 0x12, 0x43, 0x2d, 0x85, 0xbb,
    0x56, 0x93, 0x42, 0x01, 0x43, 0x13, 0x30, 0xbd, 0x52, 0x91, 0x42, 0x35, 0x82, 0x91, 0x50, 0x80, 0x42, 0xbe, 0x80,
    0x40, 0x25, 0x98, 0x2e, 0x1f, 0xb6, 0x0b, 0x83, 0xfb, 0x6f, 0xc0, 0x2e, 0x43, 0x42, 0xf0, 0x5f, 0x05, 0x80, 0x02,
    0x30, 0x02, 0x42, 0x51, 0x82, 0xbf, 0x54, 0x41, 0x40, 0x3e, 0x80, 0x51, 0x14, 0xc0, 0x2e, 0x01, 0x42, 0x00, 0x2e,
    0x30, 0x51, 0xd1, 0x7f, 0x12, 0x25, 0x02, 0x30, 0x42, 0x43, 0x32, 0x30, 0x82, 0x43, 0xc6, 0x7f, 0xe5, 0x7f, 0xb4,
    0x7f, 0xa3, 0x7f, 0x90, 0x7f, 0x8b, 0x7f, 0x98, 0x2e, 0xf0, 0x01, 0xd0, 0x7e, 0x00, 0xac, 0x01, 0x2f, 0x85, 0x52,
    0xd1, 0x7e, 0x00, 0x2e, 0x91, 0x6f, 0x49, 0x8a, 0xd1, 0x6f, 0x75, 0x7f, 0x4c, 0x82, 0x63, 0x41, 0x65, 0x7f, 0x11,
    0x7f, 0x00, 0x2e, 0x64, 0x41, 0x44, 0x85, 0x52, 0x7f, 0x45, 0x7f, 0x00, 0x2e, 0xa6, 0x40, 0x32, 0x7f, 0x82, 0x8e,
    0x80, 0x40, 0xd2, 0x6e, 0x45, 0x41, 0xf0, 0x7f, 0x27, 0x7f, 0x02, 0x7f, 0x98, 0x2e, 0x90, 0xb2, 0x23, 0x6f, 0xd1,
    0x6f, 0xc2, 0x40, 0xf9, 0x86, 0x23, 0x7f, 0x80, 0xb2, 0xe0, 0x7e, 0x0f, 0x2f, 0x32, 0x6f, 0x64, 0x6f, 0x82, 0x40,
    0xf2, 0x7f, 0x50, 0x82, 0x42, 0x6f, 0x50, 0x6f, 0x73, 0x6f, 0x85, 0x40, 0xc3, 0x40, 0x04, 0x41, 0x06, 0x40, 0xe2,
    0x6e, 0x98, 0x2e, 0x90, 0xb2, 0xe0, 0x7e, 0x00, 0x2e, 0x11, 0x6f, 0x76, 0x82, 0x71, 0x7f, 0x42, 0x80, 0xe2, 0x6e,
    0x41, 0x40, 0x60, 0x7f, 0x52, 0x7f, 0x98, 0x2e, 0x76, 0xb4, 0x10, 0x25, 0xb3, 0x30, 0x21, 0x25, 0x98, 0x2e, 0x82,
    0xb4, 0x21, 0x6f, 0x4d, 0x86, 0x20, 0x25, 0x41, 0x40, 0x60, 0x6f, 0x43, 0x7f, 0x98, 0x2e, 0xff, 0xb2, 0x74, 0x6f,
    0x60, 0x6f, 0x12, 0x30, 0xc1, 0x6f, 0x45, 0x6f, 0x42, 0x42, 0x06, 0x83, 0x52, 0x41, 0x43, 0x41, 0x04, 0x41, 0x00,
    0x40, 0x7a, 0x8b, 0xdc, 0x04, 0x10, 0x18, 0x61, 0x7f, 0x75, 0x7f, 0xb3, 0x0e, 0x02, 0x2f, 0xc1, 0x6f, 0x20, 0x30,
    0x40, 0x42, 0x05, 0x30, 0xd1, 0x6f, 0x4a, 0x80, 0x93, 0x6f, 0xa2, 0x6f, 0x40, 0x7f, 0xd7, 0x86, 0x80, 0xb2, 0x1f,
    0x2f, 0xc0, 0x40, 0x00, 0xb2, 0x1c, 0x2f, 0x55, 0x82, 0xc5, 0x5c, 0xc3, 0x58, 0xc1, 0x56, 0x02, 0x6f, 0x31, 0x7f,
    0xf5, 0x7f, 0x98, 0x2e, 0x90, 0xb2, 0x31, 0x6f, 0x76, 0x82, 0x00, 0xa4, 0x42, 0x40, 0x01, 0x2f, 0x80, 0xa0, 0x03,
    0x2f, 0x00, 0xac, 0x09, 0x2f, 0x80, 0xa4, 0x07, 0x2f, 0x41, 0x6f, 0x05, 0x30, 0x40, 0x40, 0x01, 0x80, 0x50, 0x42,
    0xaa, 0x04, 0x02, 0x2c, 0x42, 0x42, 0x05, 0x30, 0x00, 0x2e, 0xc4, 0x6f, 0x90, 0x6f, 0x0e, 0x86, 0x71, 0x6f, 0x04,
    0x41, 0xe0, 0x6f, 0x42, 0x40, 0xc3, 0x40, 0x02, 0xb3, 0x05, 0x42, 0xda, 0x22, 0x64, 0x6f, 0x10, 0x30, 0x02, 0x41,
    0x90, 0x28, 0x02, 0x43, 0x0c, 0x85, 0x78, 0x82, 0x84, 0x40, 0x20, 0x28, 0x80, 0x42, 0x7c, 0x88, 0xae, 0x80, 0x41,
    0x40, 0x52, 0x6f, 0x73, 0x7f, 0x60, 0x7f, 0x34, 0x7f, 0x98, 0x2e, 0xff, 0xb2, 0x33, 0x6f, 0x62, 0x6f, 0xbe, 0x80,
    0xe1, 0x40, 0x82, 0x40, 0x30, 0x7f, 0x23, 0x7f, 0x98, 0x2e, 0xff, 0xb2, 0x21, 0x6f, 0x60, 0x6f, 0x34, 0x6f, 0x22,
    0x40, 0x05, 0x41, 0x43, 0x40, 0x13, 0x01, 0x43, 0x86, 0xac, 0x0f, 0xd1, 0x6f, 0x20, 0x7f, 0x00, 0x2f, 0x44, 0x42,
    0x48, 0x8a, 0x41, 0x88, 0xe1, 0x40, 0x13, 0x7f, 0x04, 0x7f, 0xf5, 0x7e, 0x98, 0x2e, 0xff, 0xb2, 0x11, 0x6f, 0x63,
    0x6f, 0x40, 0x40, 0xc3, 0x40, 0x22, 0x6f, 0x18, 0x04, 0x82, 0x40, 0x4d, 0x86, 0x90, 0x0e, 0x01, 0x6f, 0x00, 0x2f,
    0x40, 0x42, 0x00, 0x2e, 0x34, 0x6f, 0xd6, 0x6f, 0x15, 0x41, 0x51, 0x6f, 0x90, 0x6f, 0x11, 0x80, 0x86, 0x85, 0x8d,
    0x0e, 0x1f, 0x2f, 0xf5, 0x6e, 0x81, 0x43, 0x00, 0x2e, 0x46, 0x41, 0x77, 0x6f, 0x37, 0x0f, 0x06, 0x40, 0x04, 0x2f,
    0x80, 0x91, 0x06, 0x30, 0x15, 0x2f, 0x46, 0x43, 0x14, 0x2d, 0x85, 0x40, 0x42, 0xb3, 0x04, 0x2f, 0x80, 0x91, 0x0b,
    0x2f, 0x05, 0x30, 0x0a, 0x2c, 0x85, 0x42, 0xe6, 0x6f, 0x1b, 0x30, 0x8b, 0x43, 0x82, 0x8a, 0x06, 0x30, 0x46, 0x43,
    0x4c, 0x8b, 0x8b, 0x42, 0x46, 0x43, 0x02, 0x2c, 0x06, 0x30, 0x06, 0x30, 0x05, 0x41, 0x8d, 0x0f, 0x13, 0x89, 0x05,
    0x6f, 0x2b, 0x30, 0x04, 0x2f, 0x41, 0x43, 0x45, 0x83, 0x4e, 0x8a, 0x4b, 0x42, 0x46, 0x43, 0x00, 0x2e, 0x91, 0x6f,
    0x4f, 0x8a, 0x04, 0x41, 0xc3, 0x40, 0xa3, 0x0e, 0x75, 0x7f, 0x06, 0x2f, 0x00, 0x40, 0x00, 0x90, 0x03, 0x2f, 0x8e,
    0x80, 0x86, 0x42, 0x06, 0x42, 0x00, 0x2e, 0xa0, 0x6f, 0x00, 0x90, 0xd0, 0x6f, 0x03, 0x2f, 0x8b, 0x6f, 0xd0, 0x5e,
    0x80, 0x2e, 0x1f, 0xb6, 0x07, 0x84, 0x13, 0x30, 0x84, 0x40, 0x23, 0x29, 0x84, 0x42, 0x44, 0x88, 0xe5, 0x6f, 0xa2,
    0x7f, 0x05, 0x84, 0x41, 0x41, 0x62, 0x7f, 0x40, 0xb2, 0x6b, 0x2f, 0x81, 0x40, 0x40, 0xa6, 0x11, 0x30, 0x2d, 0x2f,
    0xa0, 0x6f, 0x91, 0x6f, 0x02, 0x40, 0x46, 0x82, 0x4f, 0x86, 0x3c, 0x80, 0x41, 0x40, 0x24, 0xbd, 0x53, 0x7f, 0x34,
    0x7f, 0x20, 0x7f, 0x98, 0x2e, 0xff, 0xb2, 0x50, 0x6f, 0x13, 0x30, 0x01, 0x40, 0x40, 0xb2, 0x02, 0x80, 0x11, 0x30,
    0x0b, 0x2f, 0x91, 0x6f, 0x56, 0x82, 0x24, 0x6f, 0xa2, 0x6f, 0x04, 0x41, 0x41, 0x40, 0x82, 0x40, 0x0c, 0x18, 0x24,
    0xbd, 0x96, 0x0e, 0x01, 0x30, 0x59, 0x22, 0x00, 0x40, 0x00, 0xb2, 0xd0, 0x6f, 0x62, 0x6f, 0x34, 0x6f, 0x06, 0x30,
    0x06, 0x2f, 0x91, 0x6f, 0x58, 0x8a, 0x41, 0x6f, 0x45, 0x41, 0x41, 0x40, 0xcd, 0x0e, 0x5e, 0x22, 0x40, 0x90, 0x03,
    0x2f, 0x91, 0x6f, 0x98, 0x2e, 0x1f, 0xb6, 0x2f, 0x2d, 0x81, 0x40, 0x02, 0x41, 0xca, 0x0f, 0x08, 0x2f, 0x60, 0x6f,
    0x41, 0x82, 0x01, 0x42, 0x4a, 0x0e, 0xd6, 0x7e, 0x19, 0x2f, 0x00, 0x2e, 0x18, 0x2c, 0xd1, 0x7e, 0x03, 0x80, 0x04,
    0x82, 0x02, 0x40, 0x40, 0x40, 0xa1, 0xbc, 0x04, 0xbc, 0x48, 0x04, 0x40, 0xa8, 0x31, 0x04, 0x48, 0x22, 0x51, 0x7f,
    0xd3, 0x7e, 0xb3, 0x30, 0xc7, 0x52, 0x98, 0x2e, 0x82, 0xb4, 0x51, 0x6f, 0xc8, 0x0f, 0x21, 0x30, 0x02, 0x2f, 0xe0,
    0x6f, 0xd1, 0x7e, 0x01, 0x42, 0x06, 0x30, 0xb1, 0x6f, 0xd0, 0x6e, 0x42, 0x40, 0x10, 0x00, 0x50, 0x42, 0x00, 0x2e,
    0x40, 0x40, 0x06, 0x02, 0x40, 0x42, 0x00, 0x2e, 0x61, 0x6f, 0x42, 0x82, 0x43, 0x80, 0x46, 0x42, 0x06, 0x42, 0x00,
    0x2e, 0xa1, 0x6f, 0x70, 0x6f, 0x43, 0x40, 0x02, 0x40, 0x9a, 0x0e, 0x35, 0x86, 0x7e, 0x88, 0x91, 0x6f, 0xd0, 0x6f,
    0x01, 0x2f, 0x98, 0x2e, 0x1f, 0xb6, 0x00, 0x2e, 0x01, 0x41, 0xc0, 0x40, 0xc8, 0x0f, 0xc1, 0x6f, 0x00, 0x2f, 0x46,
    0x42, 0x00, 0x2e, 0x8b, 0x6f, 0xd0, 0x5e, 0xb8, 0x2e, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e,
    0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80,
    0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0xfd, 0x2d, 0xdb, 0x50, 0xcf, 0x52, 0x21, 0x42, 0x20, 0x50, 0xab, 0x52,
    0x01, 0x42, 0x29, 0x80, 0xd1, 0x52, 0x01, 0x42, 0x02, 0x80, 0x01, 0x3f, 0x02, 0x40, 0x51, 0x08, 0xfb, 0x7f, 0x11,
    0x42, 0x0b, 0x31, 0x0b, 0x42, 0x3e, 0x80, 0xf1, 0x32, 0x01, 0x42, 0x09, 0x80, 0x03, 0x2e, 0x40, 0xf0, 0x56, 0x90,
    0xe0, 0x7f, 0x31, 0x30, 0x1f, 0x2f, 0x03, 0x30, 0xd9, 0x52, 0xd3, 0x54, 0x24, 0x35, 0x06, 0x30, 0xd5, 0x50, 0x55,
    0x32, 0x1d, 0x1a, 0xe3, 0x22, 0x18, 0x1a, 0xd7, 0x58, 0xe3, 0x22, 0x04, 0x30, 0xd5, 0x40, 0xb5, 0x0d, 0xe1, 0xbe,
    0x6f, 0xbb, 0x80, 0x91, 0xa9, 0x0d, 0x01, 0x89, 0xb5, 0x23, 0x10, 0xa1, 0xf7, 0x2f, 0xda, 0x0e, 0x24, 0x35, 0xeb,
    0x2f, 0x01, 0x2e, 0x25, 0x00, 0x70, 0x1a, 0x00, 0x30, 0x21, 0x30, 0x48, 0x22, 0x40, 0xb2, 0x06, 0x2f, 0x23, 0x2e,
    0x59, 0xf0, 0x98, 0x2e, 0xeb, 0x01, 0x00, 0x2e, 0x00, 0x2e, 0xd0, 0x2e, 0xe0, 0x6f, 0x01, 0x31, 0x20, 0x26, 0x02,
    0x40, 0x79, 0x56, 0x93, 0x0a, 0x22, 0x42, 0x01, 0x42, 0x10, 0x30, 0x21, 0x2e, 0x59, 0xf0, 0x98, 0x2e, 0xeb, 0x01,
    0x5f, 0x50, 0xc9, 0x52, 0x98, 0x2e, 0xfd, 0xb1, 0x5f, 0x50, 0x05, 0x84, 0x14, 0x30, 0x65, 0x50, 0x53, 0x30, 0xcb,
    0x52, 0x94, 0x42, 0x83, 0x42, 0x98, 0x2e, 0xfd, 0xb1, 0xcd, 0x50, 0x65, 0x54, 0x01, 0x30, 0x86, 0x84, 0x11, 0x42,
    0x63, 0x30, 0xfb, 0x6f, 0xe0, 0x5f, 0x83, 0x42, 0x01, 0x42, 0x80, 0x2e, 0x33, 0xb5, 0x80, 0x2e, 0x18, 0x00, 0x80,
    0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00,
    0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18,
    0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e,
    0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80,
    0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00,
    0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18,
    0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e,
    0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80,
    0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00,
    0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18,
    0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e,
    0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80,
    0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00,
    0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18,
    0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e,
    0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80,
    0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00,
    0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18,
    0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e,
    0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80,
    0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00,
    0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18,
    0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e,
    0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80,
    0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00,
    0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18,
    0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e,
    0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80,
    0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00,
    0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18,
    0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e,
    0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80,
    0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00,
    0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18,
    0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e,
    0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80,
    0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00,
    0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18,
    0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e,
    0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80,
    0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00,
    0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18, 0x00, 0x80, 0x2e, 0x18,
    0x00, 0x80, 0x2e, 0x18, 0x00, 0xfd, 0x2d
};

/***************************************************************************/

/*! Static Function Declarations
 ****************************************************************************/

/*!
 * @brief This API enables the features of sensor.
 *
 * @param[in] feature        : Variable to specify the features which are to be set in
 *                             the sensor.
 * @param[in] feature_config : Array address which stores the feature
 *                             configuration data
 * @param[in] dev            : Structure instance of bma4_dev.
 *
 * @return Result of API execution status
 * @retval 0 -> Success
 * @retval < 0 -> Fail
 */
static int8_t feature_enable(uint16_t feature, uint8_t *feature_config, struct bma4_dev *dev);

/*!
 * @brief This API disables the features of sensor.
 *
 * @param[in] feature        : Variable to specify the features which are to be unset
 *                             in the sensor.
 * @param[in] feature_config : Array address which stores the feature
 *                             configuration data
 * @param[in] dev            : Structure instance of bma4_dev.
 *
 * @return Result of API execution status
 * @retval 0 -> Success
 * @retval < 0 -> Fail
 */
static int8_t feature_disable(uint16_t feature, uint8_t *feature_config, struct bma4_dev *dev);

/*!
 * @brief This API update the settings of step counter into write array.
 *
 * @param[in] setting           : Pointer to structure variable which stores the
 *                                settings parameter1 to parameter25.
 * @param[in] index             : Value for array traversing.
 * @param[out] feature_config   : Pointer to store the settings
 *
 * @return none
 */
static void update_stepcounter_parameter(const struct bma456h_stepcounter_settings *setting,
                                         uint8_t index,
                                         uint8_t *feature_config);

/*!
 * @brief This API copy the settings of step counter into the
 * structure of bma456h_stepcounter_settings, which is read from sensor.
 *
 * @param[out] setting : Pointer to structure variable which stores the
 *                       settings parameter1 to parameter25 read from sensor.
 * @param[in] data_p   : Pointer of array which stores the parameters.
 *
 * @return none
 */
static void extract_stepcounter_parameter(struct bma456h_stepcounter_settings *setting, const uint16_t *data_p);

/*!
 * @brief This API update the settings of tap into write array.
 *
 * @param[in] setting           : Pointer to structure variable which stores the
 *                                settings parameter1 to parameter12.
 * @param[in] index             : Value for array traversing.
 * @param[out] feature_config   : Pointer to store the settings
 *
 * @return none
 */
static void update_tap_parameter(const struct bma456h_multitap_settings *setting, uint8_t index,
                                 uint8_t *feature_config);

/*!
 * @brief This API copy the settings of tap into the
 * structure of bma456h_multitap_settings, which is read from sensor.
 *
 * @param[out] setting : Pointer to structure variable which stores the
 *                       settings parameter1 to parameter12 read from sensor.
 * @param[in] data_p   : Pointer of array which stores the parameters.
 *
 * @return none
 */
static void extract_tap_parameter(struct bma456h_multitap_settings *setting, const uint16_t *data_p);

/***************************************************************************/

/**\name        Function definitions
 ****************************************************************************/

/*!
 * @brief This API is the entry point.
 * Call this API before using all other APIs.
 * This API reads the chip-id of the sensor and sets the resolution.
 */
int8_t bma456h_init(struct bma4_dev *dev)
{
    int8_t rslt;

    /* Structure to define the default values for axes re-mapping */
    struct bma4_axes_remap axes_remap = {
        .x_axis = BMA4_MAP_X_AXIS, .x_axis_sign = BMA4_MAP_POSITIVE, .y_axis = BMA4_MAP_Y_AXIS,
        .y_axis_sign = BMA4_MAP_POSITIVE, .z_axis = BMA4_MAP_Z_AXIS, .z_axis_sign = BMA4_MAP_POSITIVE
    };

    rslt = bma4_init(dev);
    if (rslt == BMA4_OK)
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            /* Resolution of BMA456H sensor is 16 bit */
            dev->resolution = BMA4_16_BIT_RESOLUTION;

            dev->feature_len = BMA456H_FEATURE_SIZE;

            dev->config_size = sizeof(bma456h_config_file);

            /* Set the default values for axis
             *  re-mapping in the device structure
             */
            dev->remap = axes_remap;
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }

    return rslt;
}

/*!
 * @brief This API is used to upload the configuration file to enable the
 * features of the sensor.
 */
int8_t bma456h_write_config_file(struct bma4_dev *dev)
{
    int8_t rslt = BMA4_OK;

    if (dev != NULL)
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            /* Configuration stream read/write length boundary
             * check
             */
            if ((dev->read_write_len >= BMA456H_RD_WR_MIN_LEN) && (dev->read_write_len <= BMA456H_RD_WR_MAX_LEN))
            {
                /* Even or odd check */
                if (dev->read_write_len & 0x01)
                {
                    dev->read_write_len = dev->read_write_len - 1;
                }

                /* Assign stream data */
                dev->config_file_ptr = bma456h_config_file;
                rslt = bma4_write_config_file(dev);
            }
            else
            {
                rslt = BMA4_E_RD_WR_LENGTH_INVALID;
            }
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API is used to get the configuration id of the sensor.
 */
int8_t bma456h_get_config_id(uint16_t *config_id, struct bma4_dev *dev)
{
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };
    uint8_t index = BMA456H_CONFIG_ID_OFFSET;
    int8_t rslt = BMA4_OK;
    uint16_t config_id_lsb = 0;
    uint16_t config_id_msb = 0;

    if ((dev != NULL) && (config_id != NULL))
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            rslt = bma4_read_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);
            if (rslt == BMA4_OK)
            {
                config_id_lsb = (uint16_t)feature_config[index];
                config_id_msb = ((uint16_t)feature_config[index + 1]) << 8;
                *config_id = config_id_lsb | config_id_msb;
            }
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API sets/un-sets the user provided interrupt to either interrupt
 * pin1 or pin2 in the sensor.
 */
int8_t bma456h_map_interrupt(uint8_t int_line, uint16_t int_map, uint8_t enable, struct bma4_dev *dev)
{
    int8_t rslt = BMA4_OK;

    if (dev != NULL)
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            if (int_line <= 1)
            {
                /* Map/Unmap the interrupt */
                rslt = bma4_map_interrupt(int_line, int_map, enable, dev);
            }
            else
            {
                rslt = BMA4_E_INT_LINE_INVALID;
            }
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API reads the bma456h interrupt status from the sensor.
 */
int8_t bma456h_read_int_status(uint16_t *int_status, struct bma4_dev *dev)
{
    int8_t rslt = BMA4_OK;

    if ((dev != NULL) && (int_status != NULL))
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            /* Read the interrupt status */
            rslt = bma4_read_int_status(int_status, dev);
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API enables/disables the features of the sensor.
 */
int8_t bma456h_feature_enable(uint16_t feature, uint8_t enable, struct bma4_dev *dev)
{
    uint8_t feature_config[BMA456H_FEAT_EN_SIZE] = { 0, 0 };
    int8_t rslt = BMA4_OK;
    uint8_t len = BMA456H_FEAT_EN_SIZE;

    if (dev != NULL)
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            /* Read feature configuration data */
            rslt = bma4_read_regs(BMA456H_FEAT_EN_ADDR1, feature_config, len, dev);
            if (rslt == BMA4_OK)
            {
                if (enable == TRUE)
                {
                    /* Enables the feature */
                    rslt = feature_enable(feature, feature_config, dev);
                }
                else
                {
                    /* Disables the feature */
                    rslt = feature_disable(feature, feature_config, dev);
                }
            }
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API performs x, y and z axis remapping in the sensor.
 */
int8_t bma456h_set_remap_axes(const struct bma4_remap *remap_axes, struct bma4_dev *dev)
{
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };
    uint8_t index = BMA456H_AXES_REMAP_OFFSET;
    int8_t rslt = BMA4_OK;

    if (remap_axes != NULL)
    {
        rslt = bma4_set_remap_axes(remap_axes, feature_config, index, BMA456H_FEATURE_SIZE, dev);
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API reads the x, y and z axis remap data from the sensor.
 */
int8_t bma456h_get_remap_axes(struct bma4_remap *remap_axes, struct bma4_dev *dev)
{
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };
    uint8_t index = BMA456H_AXES_REMAP_OFFSET;
    int8_t rslt = BMA4_OK;

    if (remap_axes != NULL)
    {
        rslt = bma4_get_remap_axes(remap_axes, feature_config, index, BMA456H_FEATURE_SIZE, dev);
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API sets the configuration of any-motion feature in the sensor.
 * This API enables/disables the any-motion feature according to the axis set.
 */

int8_t bma456h_set_any_mot_config(const struct bma456h_any_no_mot_config *any_mot, struct bma4_dev *dev)
{
    /* Variable to define error */
    int8_t rslt = BMA4_OK;

    /* Initialize configuration file */
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };

    /* Update index to configure any-motion axes */
    uint8_t index = BMA456H_ANY_MOT_OFFSET;

    if ((dev != NULL) && (any_mot != NULL))
    {
        /* Get any-motion configuration from the sensor */
        rslt = bma4_read_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_ANY_MOT_LEN, dev);
        if (rslt == BMA4_OK)
        {
            /* Set threshold value in feature configuration array */
            feature_config[index] = BMA4_GET_LSB(any_mot->threshold);
            feature_config[index + 1] = BMA4_GET_MSB(any_mot->threshold);
            feature_config[index + 1] = BMA4_SET_BITSLICE(feature_config[index + 1],
                                                          BMA456H_ANY_NO_MOTION_INTR_BHVR_EN,
                                                          any_mot->intr_bhvr);
            feature_config[index + 1] = BMA4_SET_BITSLICE(feature_config[index + 1],
                                                          BMA456H_ANY_MOTION_SLOPE_EN,
                                                          any_mot->slope);

            /* Extract the word where duration and axes enable
             * resides
             */
            feature_config[index + 2] = BMA4_GET_LSB(any_mot->duration);
            feature_config[index + 3] = BMA4_GET_MSB(any_mot->duration);

            /* Set any-motion configuration to the sensor */
            rslt = bma4_write_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_ANY_MOT_LEN, dev);
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API gets the configuration of any-motion feature from the
 * sensor.
 */
int8_t bma456h_get_any_mot_config(struct bma456h_any_no_mot_config *any_mot, struct bma4_dev *dev)
{
    /* Variable to define error */
    int8_t rslt = BMA4_OK;

    /* Initialize configuration file */
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };

    /* Update index to configure any-motion axes */
    uint8_t index = BMA456H_ANY_MOT_OFFSET;

    /* Variable to define LSB */
    uint16_t lsb = 0;

    /* Variable to define MSB */
    uint16_t msb = 0;

    /* Variable to define LSB and MSB */
    uint16_t lsb_msb = 0;

    if ((dev != NULL) && (any_mot != NULL))
    {
        /* Get any-motion configuration from the sensor */
        rslt = bma4_read_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_ANY_MOT_LEN, dev);
        if (rslt == BMA4_OK)
        {
            /* Get word to calculate threshold and any-motion
             * select
             */
            lsb = (uint16_t)feature_config[index];
            msb = (uint16_t)((feature_config[index + 1] << 8) & (BMA456H_ANY_NO_MOT_THRES_MSK));
            lsb_msb = lsb | msb;

            /* Get word to calculate intr_bhvr */
            any_mot->intr_bhvr = BMA4_GET_BITSLICE(feature_config[index + 1], BMA456H_ANY_NO_MOTION_INTR_BHVR_EN);

            /* Get word to calculate slope */
            any_mot->slope = BMA4_GET_BITSLICE(feature_config[index + 1], BMA456H_ANY_MOTION_SLOPE_EN);

            /* Extract threshold value */
            any_mot->threshold = lsb_msb & BMA456H_ANY_NO_MOT_THRES_MSK;

            /* Get word to calculate duration  */
            lsb = (uint16_t)feature_config[index + 2];
            msb = (uint16_t)((feature_config[index + 3] << 8) & (BMA456H_ANY_NO_MOT_DUR_MSK));
            lsb_msb = lsb | msb;

            /* Extract duration value */
            any_mot->duration = lsb_msb & BMA456H_ANY_NO_MOT_DUR_MSK;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API sets the configuration of no-motion feature in the sensor.
 * This API enables/disables the no-motion feature according to the axis set.
 */
int8_t bma456h_set_no_mot_config(const struct bma456h_any_no_mot_config *no_mot, struct bma4_dev *dev)
{
    /* Variable to define error */
    int8_t rslt = BMA4_OK;

    /* Initialize configuration file */
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };

    /* Update index to configure no-motion axes */
    uint8_t index = BMA456H_NO_MOT_OFFSET;

    if ((dev != NULL) && (no_mot != NULL))
    {
        /* Get no-motion configuration from the sensor */
        rslt = bma4_read_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_NO_MOT_RD_WR_LEN, dev);
        if (rslt == BMA4_OK)
        {
            /* Set threshold value in feature configuration array */
            feature_config[index] = BMA4_GET_LSB(no_mot->threshold);
            feature_config[index + 1] = BMA4_GET_MSB(no_mot->threshold);

            feature_config[index + 1] = BMA4_SET_BITSLICE(feature_config[index + 1],
                                                          BMA456H_ANY_NO_MOTION_INTR_BHVR_EN,
                                                          no_mot->intr_bhvr);

            /* Extract the word where duration and axes enable
             * resides
             */
            feature_config[index + 2] = BMA4_GET_LSB(no_mot->duration);
            feature_config[index + 3] = BMA4_GET_MSB(no_mot->duration);

            /* Set no-motion configuration to the sensor */
            rslt = bma4_write_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_NO_MOT_RD_WR_LEN, dev);
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API gets the configuration of no-motion feature from the
 * sensor.
 */
int8_t bma456h_get_no_mot_config(struct bma456h_any_no_mot_config *no_mot, struct bma4_dev *dev)
{
    /* Variable to define error */
    int8_t rslt = BMA4_OK;

    /* Initialize configuration file */
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };

    /* Update index to configure no-motion axes */
    uint8_t index = BMA456H_NO_MOT_OFFSET;

    /* Variable to define LSB */
    uint16_t lsb = 0;

    /* Variable to define MSB */
    uint16_t msb = 0;

    /* Variable to define LSB and MSB */
    uint16_t lsb_msb = 0;

    if ((dev != NULL) && (no_mot != NULL))
    {
        /* Get no-motion configuration from the sensor */
        rslt = bma4_read_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_NO_MOT_RD_WR_LEN, dev);
        if (rslt == BMA4_OK)
        {
            /* Get word to calculate threshold and no-motion
             * select
             */
            lsb = (uint16_t)feature_config[index];
            msb = ((uint16_t)feature_config[index + 1] << 8);
            lsb_msb = lsb | msb;

            /* Get word to calculate intr_bhvr */
            no_mot->intr_bhvr = BMA4_GET_BITSLICE(feature_config[index + 1], BMA456H_ANY_NO_MOTION_INTR_BHVR_EN);

            /* Extract threshold value */
            no_mot->threshold = lsb_msb & BMA456H_ANY_NO_MOT_THRES_MSK;

            /* Get word to calculate duration and axes enable */
            lsb = (uint16_t)feature_config[index + 2];
            msb = ((uint16_t)feature_config[index + 3] << 8);
            lsb_msb = lsb | msb;

            /* Extract duration value */
            no_mot->duration = lsb_msb & BMA456H_ANY_NO_MOT_DUR_MSK;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API enables or disables the step detector feature in the sensor.
 */
int8_t bma456h_step_detector_enable(uint8_t enable, struct bma4_dev *dev)
{
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };
    int8_t rslt = BMA4_OK;

    /* Step detector enable bit position is 1
     * byte ahead of the base address
     */
    uint8_t index = BMA456H_STEP_CNTR_OFFSET + 1;

    if (dev != NULL)
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            rslt = bma4_read_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);
            if (rslt == BMA4_OK)
            {
                feature_config[index] = BMA4_SET_BITS_POS_0(feature_config[index], BMA456H_STEP_DETR_EN, enable);
                rslt = bma4_write_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);
            }
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API sets the watermark level for step counter interrupt in the
 * sensor.
 */
int8_t bma456h_step_counter_set_watermark(uint16_t step_counter_wm, struct bma4_dev *dev)
{
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };
    uint8_t index = BMA456H_STEP_CNTR_OFFSET;
    uint16_t wm_lsb = 0;
    uint16_t wm_msb = 0;
    int8_t rslt = BMA4_OK;
    uint16_t data = 0;

    if (dev != NULL)
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            rslt = bma4_read_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);
            if (rslt == BMA4_OK)
            {
                wm_lsb = feature_config[index];
                wm_msb = feature_config[index + 1] << 8;
                data = wm_lsb | wm_msb;

                /* Sets only water-mark bits in the complete
                 * 16 bits of data
                 */
                data = BMA4_SET_BITS_POS_0(data, BMA456H_STEP_CNTR_WM, step_counter_wm);

                /* Splits 16 bits of data to individual
                 * 8 bits data
                 */
                feature_config[index] = BMA4_GET_LSB(data);
                feature_config[index + 1] = BMA4_GET_MSB(data);

                /* Writes step counter water-mark settings
                 * in the sensor
                 */
                rslt = bma4_write_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);
            }
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API gets the water mark level set for step counter interrupt
 * in the sensor.
 */
int8_t bma456h_step_counter_get_watermark(uint16_t *step_counter_wm, struct bma4_dev *dev)
{
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };
    uint8_t index = BMA456H_STEP_CNTR_OFFSET;
    uint16_t wm_lsb = 0;
    uint16_t wm_msb = 0;
    int8_t rslt = BMA4_OK;
    uint16_t data = 0;

    if ((dev != NULL) && (step_counter_wm != NULL))
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            rslt = bma4_read_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);
            if (rslt == BMA4_OK)
            {
                wm_lsb = feature_config[index];
                wm_msb = feature_config[index + 1] << 8;
                data = wm_lsb | wm_msb;
                *step_counter_wm = BMA4_GET_BITS_POS_0(data, BMA456H_STEP_CNTR_WM);
            }
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API resets the counted steps of step counter.
 */
int8_t bma456h_reset_step_counter(struct bma4_dev *dev)
{
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };

    /* Reset bit is 1 byte ahead of base address */
    uint8_t index = BMA456H_STEP_CNTR_OFFSET + 1;
    int8_t rslt = BMA4_OK;

    if (dev != NULL)
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            rslt = bma4_read_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);
            if (rslt == BMA4_OK)
            {
                feature_config[index] = BMA4_SET_BITSLICE(feature_config[index], BMA456H_STEP_CNTR_RST, 1);
                rslt = bma4_write_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);
            }
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API gets the number of counted steps of the step counter
 * feature from the sensor.
 */
int8_t bma456h_step_counter_output(uint32_t *step_count, struct bma4_dev *dev)
{
    uint8_t data[BMA456H_STEP_CNTR_DATA_SIZE] = { 0 };
    int8_t rslt = BMA4_OK;

    if ((dev != NULL) && (step_count != NULL))
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            /* Reads the step counter output data from the
             * gpio register
             */
            rslt = bma4_read_regs(BMA4_STEP_CNT_OUT_0_ADDR, data, BMA456H_STEP_CNTR_DATA_SIZE, dev);
            if (rslt == BMA4_OK)
            {
                *step_count = ((uint32_t)data[0]) | ((uint32_t)data[1] << 8) | ((uint32_t)data[2] << 16) |
                              ((uint32_t)data[3] << 24);
            }
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API gets the output for activity feature.
 */
int8_t bma456h_output_state(struct bma456h_out_state *out_state, struct bma4_dev *dev)
{
    uint8_t data = 0;
    int8_t rslt = BMA4_OK;

    if ((dev != NULL) && (out_state != NULL))
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            /* Reads the activity output from the gpio register */
            rslt = bma4_read_regs(BMA456H_FEAT_OUT_ADDR, &data, 1, dev);
            if (rslt == BMA4_OK)
            {
                out_state->activity_type = BMA4_GET_BITS_POS_0(data, BMA456H_ACTIVITY_OUT);
                out_state->single_tap = BMA4_GET_BITSLICE(data, BMA456H_SINGLE_TAP_OUT);
                out_state->double_tap = BMA4_GET_BITSLICE(data, BMA456H_DOUBLE_TAP_OUT);
                out_state->triple_tap = BMA4_GET_BITSLICE(data, BMA456H_TRIPLE_TAP_OUT);
            }
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API gets the parameter1 to parameter7 settings of the step
 * counter feature.
 */
int8_t bma456h_stepcounter_get_parameter(struct bma456h_stepcounter_settings *setting, struct bma4_dev *dev)
{
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };
    uint16_t *data_p = (uint16_t *)(void *)feature_config;
    int8_t rslt = BMA4_OK;

    if ((dev != NULL) && (setting != NULL))
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            rslt = bma4_read_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);
            if (rslt == BMA4_OK)
            {
                /* To convert 8bit to 16 bit address */
                data_p = data_p + BMA456H_STEP_CNTR_PARAM_OFFSET / 2;
                extract_stepcounter_parameter(setting, data_p);
            }
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API sets the parameter1 to parameter7 settings of the step
 * counter feature in the sensor.
 */
int8_t bma456h_stepcounter_set_parameter(const struct bma456h_stepcounter_settings *setting, struct bma4_dev *dev)
{
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };
    uint8_t index = BMA456H_STEP_CNTR_PARAM_OFFSET;
    int8_t rslt = BMA4_OK;

    if ((dev != NULL) && (setting != NULL))
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            rslt = bma4_read_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);
            if (rslt == BMA4_OK)
            {
                update_stepcounter_parameter(setting, index, feature_config);

                /* Writes step counter parameter settings
                 * in the sensor
                 */
                rslt = bma4_write_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);
            }
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*! @cond DOXYGEN_SUPRESS */

/* Suppressing doxygen warnings triggered for same static function names present across various sensor variant
 * directories */

/*!
 * @brief This API enables the features of the sensor.
 */
static int8_t feature_enable(uint16_t feature, uint8_t *feature_config, struct bma4_dev *dev)
{
    uint8_t index = 0;
    int8_t rslt = BMA4_OK;

    if ((dev != NULL) && (feature_config != NULL))
    {
        feature_config[index] |= BMA4_GET_LSB(feature);
        feature_config[index + 1] |= BMA4_GET_MSB(feature);

        /* Write the feature enable settings in the sensor */
        rslt = bma4_write_regs(BMA456H_FEAT_EN_ADDR1, &feature_config[0], 1, dev);

        if (rslt == BMA4_OK)
        {
            /* Delay required for write register */
            dev->delay_us(450, dev->intf_ptr);
            rslt = bma4_write_regs(BMA456H_FEAT_EN_ADDR2, &feature_config[1], 1, dev);
        }
    }

    return rslt;
}

/*!
 * @brief This API disables the features of the sensor.
 */
static int8_t feature_disable(uint16_t feature, uint8_t *feature_config, struct bma4_dev *dev)
{
    uint8_t index = 0;
    int8_t rslt = BMA4_OK;

    if ((dev != NULL) && (feature_config != NULL))
    {
        feature = ~feature;
        feature_config[index] &= BMA4_GET_LSB(feature);
        feature_config[index + 1] &= BMA4_GET_MSB(feature);

        /* Write the configured settings in the sensor */
        rslt = bma4_write_regs(BMA456H_FEAT_EN_ADDR1, &feature_config[0], 1, dev);

        if (rslt == BMA4_OK)
        {
            /* Delay required for write register */
            dev->delay_us(450, dev->intf_ptr);
            rslt = bma4_write_regs(BMA456H_FEAT_EN_ADDR2, &feature_config[1], 1, dev);
        }
    }

    return rslt;
}

/*!
 *  @brief This API update the settings of step counter.
 */
static void update_stepcounter_parameter(const struct bma456h_stepcounter_settings *setting,
                                         uint8_t index,
                                         uint8_t *feature_config)
{
    uint8_t param_num;
    const uint16_t *step_counter_param = &setting->param1;

    /* Number of step-counter parameter is 25 */
    for (param_num = 1; param_num <= 25; param_num++)
    {
        feature_config[index++] = BMA4_GET_LSB(*step_counter_param);
        feature_config[index++] = BMA4_GET_MSB(*step_counter_param);
        step_counter_param++;
    }
}

/*!
 * @brief This API copy the settings of step counter into the structure of
 * bma456h_stepcounter_settings, which is read from sensor.
 */
static void extract_stepcounter_parameter(struct bma456h_stepcounter_settings *setting, const uint16_t *data_p)
{
    uint8_t param_num;
    uint16_t *step_counter_param = &setting->param1;

    /* Number of step-counter parameter is 25 */
    for (param_num = 1; param_num <= 25; param_num++)
    {
        *step_counter_param = *(data_p++);
        step_counter_param++;
    }
}

/*! @endcond */

/*!
 * @brief This API gets the parameter1 to parameter12 settings of the
 * tap feature.
 */
int8_t bma456h_tap_get_parameter(struct bma456h_multitap_settings *setting, struct bma4_dev *dev)
{
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };
    uint16_t *data_p = (uint16_t *)(void *)feature_config;
    int8_t rslt = BMA4_OK;

    if ((dev != NULL) && (setting != NULL))
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            rslt = bma4_read_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);
            if (rslt == BMA4_OK)
            {
                /* To convert 8bit to 16 bit address */
                data_p = data_p + BMA456H_TAP_PARAM_OFFSET / 2;
                extract_tap_parameter(setting, data_p);
            }
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API sets the parameter1 to parameter12 settings of the
 * tap feature in the sensor.
 */
int8_t bma456h_tap_set_parameter(const struct bma456h_multitap_settings *setting, struct bma4_dev *dev)
{
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };
    uint8_t index = BMA456H_TAP_PARAM_OFFSET;
    int8_t rslt = BMA4_OK;

    if ((dev != NULL) && (setting != NULL))
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            rslt = bma4_read_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);
            if (rslt == BMA4_OK)
            {
                update_tap_parameter(setting, index, feature_config);

                /* Writes tap parameter settings
                 * in the sensor
                 */
                rslt = bma4_write_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);
            }
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*! @cond DOXYGEN_SUPRESS */

/* Suppressing doxygen warnings triggered for same static function names present across various sensor variant
 * directories */

/*!
 *  @brief This API update the settings of tap.
 */
static void update_tap_parameter(const struct bma456h_multitap_settings *setting, uint8_t index,
                                 uint8_t *feature_config)
{
    uint8_t param_num;
    uint8_t max_tap_param = 12;
    const uint16_t *tap_param = &setting->reserved_1;

    /* Number of tap detection parameter is 12 */
    for (param_num = 1; param_num <= max_tap_param; param_num++)
    {
        feature_config[index++] = BMA4_GET_LSB(*tap_param);
        feature_config[index++] = BMA4_GET_MSB(*tap_param);
        tap_param++;
    }
}

/*!
 * @brief This API copy the settings of tap into the structure of
 * bma456h_multitap_settings, which is read from sensor.
 */
static void extract_tap_parameter(struct bma456h_multitap_settings *setting, const uint16_t *data_p)
{
    uint8_t param_num;
    uint8_t max_tap_param = 12;
    uint16_t *tap_param = &setting->reserved_1;

    /* Number of tap detection parameter is 12 */
    for (param_num = 1; param_num <= max_tap_param; param_num++)
    {
        *tap_param = *(data_p++);
        tap_param++;
    }
}

/*! @endcond */

/*!
 * @brief This API gets auto sleep configurations
 */
int8_t bma456h_get_auto_low_power_config(struct bma456h_auto_low_power *auto_low_power, struct bma4_dev *dev)
{
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };
    int8_t rslt = BMA4_OK;
    uint16_t msb_lsb;

    if ((dev != NULL) && (auto_low_power != NULL))
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            rslt = bma4_read_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);
            if (rslt == BMA4_OK)
            {

                auto_low_power->no_motion = BMA4_GET_BITS_POS_0(feature_config[BMA456H_AUTO_LOW_POWER_OFFSET],
                                                                BMA456H_NO_MOT_AUTO_LOW_POWER);
                auto_low_power->time_out = BMA4_GET_BITSLICE(feature_config[BMA456H_AUTO_LOW_POWER_OFFSET],
                                                             BMA456H_AUTO_LOW_POWER_TIME_OUT);

                msb_lsb =
                    (uint16_t)(feature_config[BMA456H_AUTO_LOW_POWER_OFFSET] |
                               (uint16_t)(feature_config[BMA456H_AUTO_LOW_POWER_OFFSET + 1] << 8));
                auto_low_power->time_out_dur = BMA4_GET_BITSLICE(msb_lsb, BMA456H_TIME_OUT_DUR);

                auto_low_power->lp_odr = BMA4_GET_BITSLICE(feature_config[BMA456H_AUTO_LOW_POWER_OFFSET + 1],
                                                           BMA456H_LOW_POW_ODR);
                auto_low_power->pwr_mgt = BMA4_GET_BITSLICE(feature_config[BMA456H_AUTO_LOW_POWER_OFFSET + 1],
                                                            BMA456H_PWR_MGT_ENABLE);
            }
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API gets power mode management configuration.
 */
int8_t bma456h_set_auto_low_power_config(const struct bma456h_auto_low_power *auto_low_power, struct bma4_dev *dev)
{
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };
    uint8_t index = BMA456H_AUTO_LOW_POWER_OFFSET;
    int8_t rslt = BMA4_OK;
    uint16_t msb_lsb;

    if ((dev != NULL) && (auto_low_power != NULL))
    {
        if (dev->chip_id == BMA456H_CHIP_ID)
        {
            rslt = bma4_read_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);
            if (rslt == BMA4_OK)
            {

                msb_lsb = (uint16_t)((feature_config[index]) | (uint16_t)(feature_config[index + 1] << 8));

                msb_lsb = BMA4_SET_BITS_POS_0(msb_lsb, BMA456H_NO_MOT_AUTO_LOW_POWER_WORD, auto_low_power->no_motion);
                msb_lsb = BMA4_SET_BITSLICE(msb_lsb, BMA456H_AUTO_LOW_POWER_TIME_OUT_WORD, auto_low_power->time_out);

                msb_lsb = BMA4_SET_BITSLICE(msb_lsb, BMA456H_TIME_OUT_DUR_WORD, auto_low_power->time_out_dur);

                msb_lsb = BMA4_SET_BITSLICE(msb_lsb, BMA456H_LOW_POW_ODR_WORD, auto_low_power->lp_odr);
                msb_lsb = BMA4_SET_BITSLICE(msb_lsb, BMA456H_PWR_MGT_ENABLE_WORD, auto_low_power->pwr_mgt);

                feature_config[index] = BMA4_GET_LSB(msb_lsb);
                feature_config[index + 1] = BMA4_GET_MSB(msb_lsb);

                rslt = bma4_write_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);
            }
        }
        else
        {
            rslt = BMA4_E_INVALID_SENSOR;
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This api reads the auto low power state output status
 */
int8_t bma456h_get_auto_low_power_state(uint8_t *auto_low_power_state, struct bma4_dev *dev)
{
    int8_t rslt = BMA4_OK;
    uint8_t data;

    if ((dev != NULL) && (auto_low_power_state != NULL))
    {
        rslt = bma4_read_regs(BMA4_INTERNAL_STAT, &data, 1, dev);
        *auto_low_power_state = BMA4_GET_BITSLICE(data, BMA456H_AUTO_LOW_POWER_STATE);
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*!
 * @brief This API is used to get the config file major and minor information.
 */
int8_t bma456h_get_version_config(uint16_t *config_major, uint16_t *config_minor, struct bma4_dev *dev)
{
    /* Initialize configuration file */
    uint8_t feature_config[BMA456H_FEATURE_SIZE] = { 0 };

    /* Update index to config file version */
    uint8_t index = BMA456H_CONFIG_ID_START_ADDR;

    /* Variable to define LSB */
    uint8_t lsb = 0;

    /* Variable to define MSB */
    uint8_t msb = 0;

    /* Variable to define LSB and MSB */
    uint16_t lsb_msb = 0;

    /* Result of api are returned to this variable */
    int8_t rslt = BMA4_OK;

    if ((config_major != NULL) && (config_minor != NULL))
    {
        rslt = bma4_set_advance_power_save(BMA4_DISABLE, dev);

        /* Wait for sensor time synchronization. Refer the data-sheet for
         * more information
         */
        dev->delay_us(450, dev->intf_ptr);

        if (rslt == BMA4_OK)
        {
            /* Get config file identification from the sensor */
            rslt = bma4_read_regs(BMA4_FEATURE_CONFIG_ADDR, feature_config, BMA456H_FEATURE_SIZE, dev);

            if (rslt == BMA4_OK)
            {
                /* Get word to calculate config file identification */
                lsb = feature_config[index++];
                msb = feature_config[index++];

                lsb_msb = (uint16_t)(msb << 8 | lsb);

                /* Get major and minor version */
                *config_major = BMA4_GET_BITSLICE(lsb_msb, BMA4_CONFIG_MAJOR);
                *config_minor = BMA4_GET_BITS_POS_0(lsb, BMA4_CONFIG_MINOR);
            }
        }
    }
    else
    {
        rslt = BMA4_E_NULL_PTR;
    }

    return rslt;
}

/*! @endcond */
