Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
imu_config Struct Reference

IMU configuration struct. More...

#include <imu.h>

Data Fields

struct { 
 
   uint16_t   sample_rate_hz 
 Sample rate in Hertz. More...
 
   uint8_t   full_scale_range 
 Full scale range in G. More...
 
   bool   low_power 
 True for low power mode, false for performance. More...
 
accelerometer 
 
struct { 
 
   uint16_t   sample_rate_hz 
 Sample rate in Hertz. More...
 
   uint16_t   full_scale_range 
 Full scale range in deg/s. More...
 
   bool   low_power 
 True for low power mode, false for performance. More...
 
gyroscope 
 
struct { 
 
   uint16_t   sample_rate_hz 
 
magnetometer 
 
uint16_t fifo_sample_buffer
 Requested number of samples to buffer in FIFO before raising interrupt.
 

Detailed Description

IMU configuration struct.

Field Documentation

◆ [struct]

struct { ... } imu_config::accelerometer

◆ fifo_sample_buffer

uint16_t imu_config::fifo_sample_buffer

Requested number of samples to buffer in FIFO before raising interrupt.

◆ full_scale_range [1/2]

uint8_t imu_config::full_scale_range

Full scale range in G.

◆ full_scale_range [2/2]

uint16_t imu_config::full_scale_range

Full scale range in deg/s.

◆ [struct]

struct { ... } imu_config::gyroscope

◆ low_power

bool imu_config::low_power

True for low power mode, false for performance.

◆ [struct]

struct { ... } imu_config::magnetometer

◆ sample_rate_hz

uint16_t imu_config::sample_rate_hz

Sample rate in Hertz.


The documentation for this struct was generated from the following file: