BNO08X Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Namespaces
bno08x_i2c_interface.hpp File Reference

What the BNO08x needs from the I2C bus (handbook KB-CPP-123); the port itself is in bno08x_interface.hpp. More...

#include <cstdint>

Go to the source code of this file.

Namespaces

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

Variables

Bus requirements

A port checks its settings against these with static_assert.

constexpr uint8_t bno08x::i2c::kI2cAddress = 0x4A
 The 7-bit address with SA0 low (0x4B with SA0 high), DS p14.
 
constexpr uint32_t bno08x::i2c::kMaxClockHz = 400'000
 The highest SCL frequency, DS p46 (100 kHz and 400 kHz are specified).
 
constexpr bool bno08x::i2c::kRepeatedStart = false
 SHTP ends every transfer with a STOP: no repeated start (SHTP S3.2).
 

Detailed Description

What the BNO08x needs from the I2C bus (handbook KB-CPP-123); the port itself is in bno08x_interface.hpp.