BNO08X Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Classes | Namespaces | Concepts | Variables
bno08x.hpp File Reference

BNO08x driver: the one header to include. More...

#include <algorithm>
#include <array>
#include <bit>
#include <concepts>
#include <cstddef>
#include <cstdint>
#include <span>
#include "bno08x_detail.hpp"
#include "bno08x_euler.hpp"
#include "bno08x_interface.hpp"
#include "bno08x_records.hpp"
#include "bno08x_registers.hpp"
#include "bno08x_reports.hpp"
#include "bno08x_rvc.hpp"
#include "bno08x_shtp.hpp"
#include "bno08x_types.hpp"
#include "bno08x_version.h"
#include "../src/bno08x.ipp"

Go to the source code of this file.

Classes

struct  bno08x::DefaultLimits
 The sizes of the driver's fixed buffers; pass your own as the second template argument. More...
 
class  bno08x::Bno08x< Port, Limits >
 Driver for one BNO080, BNO085 or BNO086. More...
 

Namespaces

namespace  bno08x
 The BNO08x driver: everything it declares lives here; internals in detail.
 

Concepts

concept  bno08x::LimitsLike
 What a limits type must provide.
 

Variables

template<typename Port >
constexpr Transport bno08x::kTransportOf = Port::kTransport
 The transport a port names (used in constraints before the class is complete).
 

Detailed Description

BNO08x driver: the one header to include.

bno08x::Bno08x<Port> drives one CEVA BNO080, BNO085 or BNO086 smart sensor hub through a platform port you write (see bno08x_interface.hpp): SHTP framing and the SH-2 protocol over I2C, SPI or UART, or the stand-alone UART-RVC frames. The driver has no platform code, allocates nothing, throws nothing, takes no lock and is not thread-safe: give each object one owner, or guard it with one mutex. No call waits on the hub: Begin() starts a session, Poll() advances it, and every exchange with the hub is an operation that finishes later with an OpDone event.