#ifndef IMU_STUB_H
#define IMU_STUB_H

#include <stdint.h>
#include <stdbool.h>

/* IMU */
extern volatile bool g_imu_active;
int  imu_read_direct(void);
int  imu_read_cached(void);
void imu_active_timer_start(void);
void imu_active_timer_stop(void);

/* Measurement Config */
uint8_t meas_config_get_freq_idx(void);
uint8_t meas_config_get_cycles(void);
uint8_t meas_config_get_avg_count(void);
void    meas_config_set_freq_idx(uint8_t v);
void    meas_config_set_cycles(uint8_t v);
void    meas_config_set_avg_count(uint8_t v);
void    meas_config_save(void);

#endif
