BNO08X Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Attributes | Friends | List of all members
bno08x::ShakeConfig Struct Reference

Shake detector configuration record 0x7D7D. More...

#include <bno08x_records.hpp>

Public Attributes

uint32_t min_time_us {0}
 Shortest shake.
 
uint32_t max_time_us {0}
 Longest shake.
 
int32_t threshold_q26 {0}
 Acceleration threshold in m/s2, Q26.
 
uint32_t count {0}
 Shakes needed.
 
bool enable_x {false}
 Detect on X.
 
bool enable_y {false}
 Detect on Y.
 
bool enable_z {false}
 

Friends

constexpr bool operator== (const ShakeConfig &lhs, const ShakeConfig &rhs) noexcept=default
 Equality of all fields, as a hidden friend.
 

Detailed Description

Shake detector configuration record 0x7D7D.

Member Data Documentation

◆ enable_z

bool bno08x::ShakeConfig::enable_z {false}

Detect on Z.


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