/* This file was generated by the invn.pysonic Python package. It may need some
 * manual adjustment to work correctly within your application. In particular,
 * you may need to modify the includes if you have some non-standard include
 * paths or if you're using a version of soniclib before the invn namespace was
 * added.
 *
 * We also assume that the required algorithm header icu_algo_format.h is provided
 * at the include path <invn/soniclib/sensor_fw/icu_gpt>. In the case of
 * an official TDK Invensense release, the plugin support package for the
 * algorithm contains the header at this location.
 * *
 * invn.pysonic version: 4.29.1
 */

#include <invn/icu_interface/shasta_external_regs.h> // general ICU ASIC definitions
#include <invn/soniclib/soniclib.h>
#include <invn/soniclib/sensor_fw/icu_presence/icu_presence.h>

/* Define the number of ultrasonic amplitude samples per meter */
#define ULTRASOUND_CIC_ODR (ICU_PRESENCE_RECOMMENDED_CIC_ODR)

measurement_queue_t sensor_settings_icu30201 = {
    .intconfig= 0, /* get all measure results even when no detection */
    .meas_start=0,
    .meas_stop=0,
    .current_meas=0,
    .trigsrc=TRIGSRC_RTC,
    .reserved=0,
    .meas={
        {
            .trx_inst={
                {
                    .cmd_config=33569,
                    .length=768
                },
                {
                    .cmd_config=14370,
                    .length=128
                },
                {
                    .cmd_config=4642,
                    .length=512
                },
                {
                    .cmd_config=3618,
                    .length=512
                },
                {
                    .cmd_config=2594,
                    .length=512
                },
                {
                    .cmd_config=1570,
                    .length=512
                },
                {
                    .cmd_config=546,
                    .length=512
                },
                {
                    .cmd_config=42,
                    .length=512
                },
                {
                    .cmd_config=3,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                }
            },
            .meas_period=3000,
            .odr=ULTRASOUND_CIC_ODR,
            .meas_flags=0
        },
        {
            .trx_inst={
                {
                    .cmd_config=3,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                },
                {
                    .cmd_config=0,
                    .length=0
                }
            },
            .meas_period=3000,
            .odr=ULTRASOUND_CIC_ODR,
            .meas_flags=0
        }
    }
};
